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 "cohttp" 26 "base-bytes" 27] 28synopsis: "An OCaml library for HTTP clients and servers" 29description: """ 30[![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) 31 32Cohttp is an OCaml library for creating HTTP daemons. It has a portable 33HTTP parser, and implementations using various asynchronous programming 34libraries: 35 36* `Cohttp_lwt_unix` uses the [Lwt](https://ocsigen.org/lwt/) library, and 37 specifically the UNIX bindings. 38* `Cohttp_async` uses the [Async](https://realworldocaml.org/v1/en/html/concurrent-programming-with-async.html) 39 library. 40* `Cohttp_lwt` exposes an OS-independent Lwt interface, which is used 41 by the [Mirage](https://mirage.io/) interface to generate standalone 42 microkernels (use the cohttp-mirage subpackage). 43* `Cohttp_lwt_xhr` compiles to a JavaScript module that maps the Cohttp 44 calls to XMLHTTPRequests. This is used to compile OCaml libraries like 45 the GitHub bindings to JavaScript and still run efficiently. 46 47You can implement other targets using the parser very easily. Look at the `IO` 48signature in `lib/s.mli` and implement that in the desired backend. 49 50You can activate some runtime debugging by setting `COHTTP_DEBUG` to any 51value, and all requests and responses will be written to stderr. Further 52debugging of the connection layer can be obtained by setting `CONDUIT_DEBUG` 53to any value.""" 54url { 55 src: 56 "https://github.com/mirage/ocaml-cohttp/releases/download/v1.1.0/cohttp-1.1.0.tbz" 57 checksum: [ 58 "sha256=b25482fa09312ee7408cea671f03d3c3d01580b6ab9a9e09a1d3d96331483ec4" 59 "md5=7624e77774b90112370924f2d21af436" 60 ] 61}