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] 12license: "ISC" 13tags: ["org:mirage" "org:xapi-project"] 14homepage: "https://github.com/mirage/ocaml-cohttp" 15bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" 16depends: [ 17 "ocaml" {>= "4.03.0"} 18 "dune" {>= "1.1.0"} 19 "cohttp" 20] 21build: [ 22 ["dune" "subst"] {dev} 23 ["dune" "build" "-p" name "-j" jobs] 24 ["dune" "runtest" "-p" name "-j" jobs] {with-test} 25] 26dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" 27synopsis: "An OCaml library for HTTP clients and servers" 28description: """ 29[![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) 30 31Cohttp is an OCaml library for creating HTTP daemons. It has a portable 32HTTP parser, and implementations using various asynchronous programming 33libraries: 34 35* `Cohttp_lwt_unix` uses the [Lwt](https://ocsigen.org/lwt/) library, and 36 specifically the UNIX bindings. 37* `Cohttp_async` uses the [Async](https://realworldocaml.org/v1/en/html/concurrent-programming-with-async.html) 38 library. 39* `Cohttp_lwt` exposes an OS-independent Lwt interface, which is used 40 by the [Mirage](https://mirage.io/) interface to generate standalone 41 microkernels (use the cohttp-mirage subpackage). 42* `Cohttp_lwt_xhr` compiles to a JavaScript module that maps the Cohttp 43 calls to XMLHTTPRequests. This is used to compile OCaml libraries like 44 the GitHub bindings to JavaScript and still run efficiently. 45 46You can implement other targets using the parser very easily. Look at the `IO` 47signature in `lib/s.mli` and implement that in the desired backend. 48 49You can activate some runtime debugging by setting `COHTTP_DEBUG` to any 50value, and all requests and responses will be written to stderr. Further 51debugging of the connection layer can be obtained by setting `CONDUIT_DEBUG` 52to any value.""" 53url { 54 src: "https://github.com/mirage/ocaml-cohttp/archive/v1.1.1.tar.gz" 55 checksum: [ 56 "md5=8ad6bb9dffd346bd88e556fc3cffafae" 57 "sha512=a5f7275c22866d24aa8e81687f7bad52e75872d655816b514996335053b5a2de9cc34f68bd077ad4059ff16b6ed3e76c02ef7f7b2e699472e42689643ade89f1" 58 ] 59}