http:在Elm中发出HTTP请求 源码

strengthen1834 23 0 ZIP 2021-02-08 08:02:11

HTTP 在Elm中发出HTTP请求。 与服务器对话。 我强烈建议您阅读以了解如何使用此软件包! 例子 您可能会创建以下命令来使用此软件包发送HTTP请求: import Http import Json.Decode as D type Msg = GotBook ( Result Http . Error String ) | GotItems ( Result Http . Error ( List String )) getBook : Cmd Msg getBook = Http . get { url = " https://elm-lang.org/as

用户评论
请输入评论内容
评分:
暂无评论