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" & < "5.0"} 24 "base-bytes" 25 "jbuilder" {>= "1.0+beta10"} 26 "re" 27 "uri" {>= "1.9.0" & < "2.0.0"} 28 "fieldslib" 29 "sexplib" 30 "ppx_fields_conv" {>= "v0.9.0"} 31 "ppx_sexp_conv" {>= "v0.9.0"} 32 "stringext" 33 "base64" {>= "2.0.0" & < "3.0.0"} 34 "fmt" {with-test} 35 "jsonm" {build} 36 "alcotest" {with-test} 37] 38synopsis: "An OCaml library for HTTP clients and servers" 39description: """ 40[![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) 41 42Cohttp is an OCaml library for creating HTTP daemons. It has a portable 43HTTP parser, and implementations using various asynchronous programming 44libraries: 45 46* `Cohttp_lwt_unix` uses the [Lwt](http://ocsigen.org/lwt) library, and 47 specifically the UNIX bindings. 48* `Cohttp_async` uses the [Async](https://realworldocaml.org/v1/en/html/concurrent-programming-with-async.html) 49 library. 50* `Cohttp_lwt` exposes an OS-independent Lwt interface, which is used 51 by the [Mirage](http://www.openmirage.org) interface 52 to generate standalone microkernels use the cohttp-mirage subpackage. 53* `Cohttp_lwt_xhr` compiles to a JavaScript module that maps the Cohttp 54 calls to XMLHTTPRequests. This is used to compile OCaml libraries like 55 the GitHub bindings to JavaScript and still run efficiently. 56 57You can implement other targets using the parser very easily. Look at the `IO` 58signature in `lib/s.mli` and implement that in the desired backend. 59 60You can activate some runtime debugging by setting `COHTTP_DEBUG` to any 61value, and all requests and responses will be written to stderr. Further 62debugging of the connection layer can be obtained by setting `CONDUIT_DEBUG` 63to any value.""" 64url { 65 src: 66 "https://github.com/mirage/ocaml-cohttp/releases/download/v1.0.0/cohttp-1.0.0.tbz" 67 checksum: [ 68 "sha256=42b26ee6126ce0c607345e285a926641f5a9aa48b2854319b1d42c3782a704e0" 69 "md5=756f590576d4a60ce2382ef89274b44b" 70 ] 71}