this repo has no description
1opam-version: "2.0" 2maintainer: "anil@recoil.org" 3authors: [ 4 "Anil Madhavapeddy" 5 "Stefano Zacchiroli" 6 "David Sheets" 7 "Thomas Gazagnaire" 8 "David Scott" 9 "Rudi Grinberg" 10 "Andy Ray" 11] 12homepage: "https://github.com/mirage/ocaml-cohttp" 13bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" 14license: "ISC" 15tags: ["org:mirage" "org:xapi-project"] 16dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" 17build: [ 18 ["jbuilder" "subst" "-p" name] {dev} 19 ["jbuilder" "build" "-p" name "-j" jobs] 20 ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test} 21] 22depends: [ 23 "ocaml" {>= "4.03.0"} 24 "jbuilder" {>= "1.0+beta10"} 25 "ppx_sexp_conv" {< "v0.15"} 26 "cohttp" {>= "1.0.0" & < "1.1.0"} 27 "lwt" {>= "2.5.0"} 28] 29synopsis: "An OCaml library for HTTP clients and servers" 30description: """ 31[![Join the chat at https://gitter.im/mirage/ocaml-cohttp](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mirage/ocaml-cohttp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) 32 33Cohttp is an OCaml library for creating HTTP daemons. It has a portable 34HTTP parser, and implementations using various asynchronous programming 35libraries: 36 37* `Cohttp_lwt_unix` uses the [Lwt](http://ocsigen.org/lwt) library, and 38 specifically the UNIX bindings. 39* `Cohttp_async` uses the [Async](https://realworldocaml.org/v1/en/html/concurrent-programming-with-async.html) 40 library. 41* `Cohttp_lwt` exposes an OS-independent Lwt interface, which is used 42 by the [Mirage](http://www.openmirage.org) interface 43 to generate standalone microkernels use the cohttp-mirage subpackage. 44* `Cohttp_lwt_xhr` compiles to a JavaScript module that maps the Cohttp 45 calls to XMLHTTPRequests. This is used to compile OCaml libraries like 46 the GitHub bindings to JavaScript and still run efficiently. 47 48You can implement other targets using the parser very easily. Look at the `IO` 49signature in `lib/s.mli` and implement that in the desired backend. 50 51You can activate some runtime debugging by setting `COHTTP_DEBUG` to any 52value, and all requests and responses will be written to stderr. Further 53debugging of the connection layer can be obtained by setting `CONDUIT_DEBUG` 54to any value.""" 55url { 56 src: 57 "https://github.com/mirage/ocaml-cohttp/releases/download/v1.0.0/cohttp-1.0.0.tbz" 58 checksum: [ 59 "sha256=42b26ee6126ce0c607345e285a926641f5a9aa48b2854319b1d42c3782a704e0" 60 "md5=756f590576d4a60ce2382ef89274b44b" 61 ] 62}