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