servant:转移到 http-源码

上传者: 42162978 | 上传时间: 2021-07-10 12:03:53 | 文件大小: 123KB | 文件类型: ZIP
仆人 这些库提供了一系列组合器来定义 Web 服务并为每个端点自动生成文档和客户端查询功能。 为了根据您的需要最大限度地减少依赖项,我们在不同的包下提供这些功能。 servant ,其中包含声明Web 服务和实现带有每个端点的处理程序的 HTTP 服务器所需的一切。 servant-client ,它让你自动派生 Haskell 函数,让你查询仆人web 服务的每个端点。 servant-docs ,它允许您为您的网络服务生成 API 文档。 servant-jquery ,它允许您派生 Javascript 函数(基于 jquery)来查询您的 API 的端点,本着与servant-client相同的精神。 黑线鳕 我们尝试维护最新的文档:

文件下载

资源详情

[{"title":"( 58 个子文件 123KB ) servant:转移到 http-源码","children":[{"title":"servant-new-impl","children":[{"title":".travis.yml <span style='color:#111;'> 819B </span>","children":null,"spread":false},{"title":"servant-client","children":[{"title":"src","children":[{"title":"Servant","children":[{"title":"Common","children":[{"title":"BaseUrl.hs <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"Req.hs <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"Client.hs <span style='color:#111;'> 10.78KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"servant-client.cabal <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"Spec.hs <span style='color:#111;'> 44B </span>","children":null,"spread":false},{"title":"Servant","children":[{"title":"ClientSpec.hs <span style='color:#111;'> 7.10KB </span>","children":null,"spread":false},{"title":"Common","children":[{"title":"BaseUrlSpec.hs <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"servant-docs","children":[{"title":"src","children":[{"title":"Servant","children":[{"title":"Docs.hs <span style='color:#111;'> 17.80KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"servant-docs.cabal <span style='color:#111;'> 921B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"example","children":[{"title":"greet.hs <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"servant.png <span style='color:#111;'> 26.41KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"servant-jquery","children":[{"title":"Setup.hs <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"Servant","children":[{"title":"JQuery","children":[{"title":"Internal.hs <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"JQuery.hs <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"counter.hs <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"www","children":[{"title":"jquery.min.js <span style='color:#111;'> 93.54KB </span>","children":null,"spread":false},{"title":"api.js <span style='color:#111;'> 300B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 1018B </span>","children":null,"spread":false}],"spread":true},{"title":"counter.md <span style='color:#111;'> 389B </span>","children":null,"spread":false}],"spread":true},{"title":"TODO.md <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"servant-jquery.cabal <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"servant","children":[{"title":"Setup.hs <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"Servant.hs <span style='color:#111;'> 727B </span>","children":null,"spread":false},{"title":"Servant","children":[{"title":"Utils","children":[{"title":"StaticFiles.hs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Links.hs <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"QQ.hs <span style='color:#111;'> 5.91KB </span>","children":null,"spread":false},{"title":"Common","children":[{"title":"Text.hs <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false}],"spread":false},{"title":"API","children":[{"title":"Post.hs <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"QueryParam.hs <span style='color:#111;'> 6.19KB </span>","children":null,"spread":false},{"title":"Sub.hs <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"Get.hs <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"Capture.hs <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"Delete.hs <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"ReqBody.hs <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"Raw.hs <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"Put.hs <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"Alternative.hs <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false}],"spread":false},{"title":"Server.hs <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"API.hs <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":".ghci <span style='color:#111;'> 33B </span>","children":null,"spread":false},{"title":"example","children":[{"title":"greet.md <span style='color:#111;'> 746B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"greet.hs <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"Spec.hs <span style='color:#111;'> 44B </span>","children":null,"spread":false},{"title":"Servant","children":[{"title":"Utils","children":[{"title":"LinksSpec.hs <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"StaticFilesSpec.hs <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":false},{"title":"ServerSpec.hs <span style='color:#111;'> 7.05KB </span>","children":null,"spread":false},{"title":"QQSpec.hs <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"servant.cabal <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"docs","children":[{"title":"getting-started","children":[{"title":"myslidy.css <span style='color:#111;'> 131B </span>","children":null,"spread":false},{"title":"getting-started.md <span style='color:#111;'> 9.96KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明