···11+opam-version: "2.0"
22+maintainer: "anil@recoil.org"
33+authors: [
44+ "Anil Madhavapeddy"
55+ "Stefano Zacchiroli"
66+ "David Sheets"
77+ "Thomas Gazagnaire"
88+ "David Scott"
99+ "Rudi Grinberg"
1010+ "Andy Ray"
1111+]
1212+synopsis: "CoHTTP implementation for Unix and Windows using Lwt"
1313+description: """
1414+An implementation of an HTTP client and server using the Lwt
1515+concurrency library. See the `Cohttp_lwt_unix` module for information
1616+on how to use this. The package also installs `cohttp-curl-lwt`
1717+and a `cohttp-server-lwt` binaries for quick uses of a HTTP(S)
1818+client and server respectively.
1919+2020+Although the name implies that this only works under Unix, it
2121+should also be fine under Windows too."""
2222+license: "ISC"
2323+tags: ["org:mirage" "org:xapi-project"]
2424+homepage: "https://github.com/mirage/ocaml-cohttp"
2525+doc: "https://mirage.github.io/ocaml-cohttp/"
2626+bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
2727+depends: [
2828+ "ocaml" {>= "4.04.1"}
2929+ "dune" {>= "1.1.0"}
3030+ "conduit-lwt-unix" {>= "1.0.3" & < "3.0.0"}
3131+ "cmdliner"
3232+ "magic-mime"
3333+ "logs"
3434+ "fmt" {>= "0.8.2"}
3535+ "cohttp-lwt" {=version}
3636+ "lwt" {>= "3.0.0"}
3737+ "base-unix"
3838+ "ounit" {with-test}
3939+]
4040+build: [
4141+ ["dune" "subst"] {pinned}
4242+ ["dune" "build" "-p" name "-j" jobs]
4343+ ["dune" "runtest" "-p" name "-j" jobs] {with-test}
4444+]
4545+dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
4646+x-commit-hash: "a9bb82a16cad32725be56e06267871bebb0d972b"
4747+url {
4848+ src:
4949+ "https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.5/cohttp-v2.5.5.tbz"
5050+ checksum: [
5151+ "sha256=352a8ef1288572ad0b00f5c63be62ed6daa6bf5c3d1203da13fa9a4b09c5957b"
5252+ "sha512=9c32228e6284e372d70d236cba35dc0aa822180779ca457caaa1f3a048cb3d5f4c6473046ac4c92e2f608b15e44d03ff431163776bd46a093c9f1ed8fbcc821d"
5353+ ]
5454+}
+50
packages/cohttp-lwt/cohttp-lwt.2.5.5/opam
···11+opam-version: "2.0"
22+maintainer: "anil@recoil.org"
33+authors: [
44+ "Anil Madhavapeddy"
55+ "Stefano Zacchiroli"
66+ "David Sheets"
77+ "Thomas Gazagnaire"
88+ "David Scott"
99+ "Rudi Grinberg"
1010+ "Andy Ray"
1111+]
1212+synopsis: "CoHTTP implementation using the Lwt concurrency library"
1313+description: """
1414+This is a portable implementation of HTTP that uses the Lwt
1515+concurrency library to multiplex IO. It implements as much of the
1616+logic in an OS-independent way as possible, so that more specialised
1717+modules can be tailored for different targets. For example, you
1818+can install `cohttp-lwt-unix` or `cohttp-lwt-jsoo` for a Unix or
1919+JavaScript backend, or `cohttp-mirage` for the MirageOS unikernel
2020+version of the library. All of these implementations share the same
2121+IO logic from this module."""
2222+license: "ISC"
2323+tags: ["org:mirage" "org:xapi-project"]
2424+homepage: "https://github.com/mirage/ocaml-cohttp"
2525+doc: "https://mirage.github.io/ocaml-cohttp/"
2626+bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
2727+depends: [
2828+ "ocaml" {>= "4.04.1"}
2929+ "dune" {>= "1.1.0"}
3030+ "cohttp" {=version}
3131+ "lwt" {>= "2.5.0"}
3232+ "sexplib0"
3333+ "ppx_sexp_conv" {>= "v0.13.0"}
3434+ "logs"
3535+]
3636+build: [
3737+ ["dune" "subst"] {pinned}
3838+ ["dune" "build" "-p" name "-j" jobs]
3939+ ["dune" "runtest" "-p" name "-j" jobs] {with-test}
4040+]
4141+dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
4242+x-commit-hash: "a9bb82a16cad32725be56e06267871bebb0d972b"
4343+url {
4444+ src:
4545+ "https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.5/cohttp-v2.5.5.tbz"
4646+ checksum: [
4747+ "sha256=352a8ef1288572ad0b00f5c63be62ed6daa6bf5c3d1203da13fa9a4b09c5957b"
4848+ "sha512=9c32228e6284e372d70d236cba35dc0aa822180779ca457caaa1f3a048cb3d5f4c6473046ac4c92e2f608b15e44d03ff431163776bd46a093c9f1ed8fbcc821d"
4949+ ]
5050+}
+48
packages/cohttp-mirage/cohttp-mirage.2.5.5/opam
···11+opam-version: "2.0"
22+maintainer: "anil@recoil.org"
33+authors: ["Anil Madhavapeddy" "Thomas Gazagnaire"]
44+license: "ISC"
55+tags: ["org:mirage" "org:xapi-project"]
66+homepage: "https://github.com/mirage/ocaml-cohttp"
77+doc: "https://mirage.github.io/ocaml-cohttp/"
88+bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
99+synopsis: "CoHTTP implementation for the MirageOS unikernel"
1010+description: """
1111+This HTTP implementation uses the Cohttp portable implementaiton
1212+along with the Lwt threading library in order to provide a
1313+`Cohttp_mirage` functor that can be used in MirageOS unikernels
1414+to build very small and efficient HTTP clients and servers
1515+without having a hard dependency on an underlying operating
1616+system.
1717+1818+Please see <https://mirage.io> for a self-hosted explanation
1919+and instructions on how to use this library."""
2020+depends: [
2121+ "ocaml" {>= "4.05.0"}
2222+ "dune" {>= "1.1.0"}
2323+ "mirage-flow" {>= "2.0.0"}
2424+ "mirage-channel" {>= "4.0.0"}
2525+ "conduit" {>= "2.0.2"}
2626+ "conduit-mirage" {>= "2.0.2" & < "2.3.0"}
2727+ "mirage-kv" {>= "3.0.0"}
2828+ "lwt" {>= "2.4.3"}
2929+ "cohttp" {=version}
3030+ "cohttp-lwt" {=version}
3131+ "astring"
3232+ "magic-mime"
3333+]
3434+build: [
3535+ ["dune" "subst"] {pinned}
3636+ ["dune" "build" "-p" name "-j" jobs]
3737+ ["dune" "runtest" "-p" name "-j" jobs] {with-test}
3838+]
3939+dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
4040+x-commit-hash: "a9bb82a16cad32725be56e06267871bebb0d972b"
4141+url {
4242+ src:
4343+ "https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.5/cohttp-v2.5.5.tbz"
4444+ checksum: [
4545+ "sha256=352a8ef1288572ad0b00f5c63be62ed6daa6bf5c3d1203da13fa9a4b09c5957b"
4646+ "sha512=9c32228e6284e372d70d236cba35dc0aa822180779ca457caaa1f3a048cb3d5f4c6473046ac4c92e2f608b15e44d03ff431163776bd46a093c9f1ed8fbcc821d"
4747+ ]
4848+}
+42
packages/cohttp-top/cohttp-top.2.5.5/opam
···11+opam-version: "2.0"
22+maintainer: "anil@recoil.org"
33+authors: [
44+ "Anil Madhavapeddy"
55+ "Stefano Zacchiroli"
66+ "David Sheets"
77+ "Thomas Gazagnaire"
88+ "David Scott"
99+ "Rudi Grinberg"
1010+ "Andy Ray"
1111+]
1212+synopsis: "CoHTTP toplevel pretty printers for HTTP types"
1313+description: """
1414+This library installs toplevel prettyprinters for CoHTTP
1515+types such as the `Request`, `Response` and `Types` modules.
1616+Once this library has been loaded, you can directly see the
1717+values of those types in toplevels such as `utop` or `ocaml`."""
1818+license: "ISC"
1919+tags: ["org:mirage" "org:xapi-project"]
2020+homepage: "https://github.com/mirage/ocaml-cohttp"
2121+doc: "https://mirage.github.io/ocaml-cohttp/"
2222+bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
2323+depends: [
2424+ "ocaml" {>= "4.04.1"}
2525+ "dune" {>= "1.1.0"}
2626+ "cohttp" {=version}
2727+]
2828+build: [
2929+ ["dune" "subst"] {pinned}
3030+ ["dune" "build" "-p" name "-j" jobs]
3131+ ["dune" "runtest" "-p" name "-j" jobs] {with-test}
3232+]
3333+dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
3434+x-commit-hash: "a9bb82a16cad32725be56e06267871bebb0d972b"
3535+url {
3636+ src:
3737+ "https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.5/cohttp-v2.5.5.tbz"
3838+ checksum: [
3939+ "sha256=352a8ef1288572ad0b00f5c63be62ed6daa6bf5c3d1203da13fa9a4b09c5957b"
4040+ "sha512=9c32228e6284e372d70d236cba35dc0aa822180779ca457caaa1f3a048cb3d5f4c6473046ac4c92e2f608b15e44d03ff431163776bd46a093c9f1ed8fbcc821d"
4141+ ]
4242+}
+65
packages/cohttp/cohttp.2.5.5/opam
···11+opam-version: "2.0"
22+maintainer: "anil@recoil.org"
33+authors: [
44+ "Anil Madhavapeddy"
55+ "Stefano Zacchiroli"
66+ "David Sheets"
77+ "Thomas Gazagnaire"
88+ "David Scott"
99+ "Rudi Grinberg"
1010+ "Andy Ray"
1111+]
1212+synopsis: "An OCaml library for HTTP clients and servers"
1313+description: """
1414+Cohttp is an OCaml library for creating HTTP daemons. It has a portable
1515+HTTP parser, and implementations using various asynchronous programming
1616+libraries.
1717+1818+See the cohttp-async, cohttp-lwt, cohttp-lwt-unix, cohttp-lwt-jsoo and
1919+cohttp-mirage libraries for concrete implementations for particular
2020+targets.
2121+2222+You can implement other targets using the parser very easily. Look at the `IO`
2323+signature in `lib/s.mli` and implement that in the desired backend.
2424+2525+You can activate some runtime debugging by setting `COHTTP_DEBUG` to any
2626+value, and all requests and responses will be written to stderr. Further
2727+debugging of the connection layer can be obtained by setting `CONDUIT_DEBUG`
2828+to any value."""
2929+license: "ISC"
3030+tags: ["org:mirage" "org:xapi-project"]
3131+homepage: "https://github.com/mirage/ocaml-cohttp"
3232+doc: "https://mirage.github.io/ocaml-cohttp/"
3333+bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
3434+depends: [
3535+ "ocaml" {>= "4.04.1"}
3636+ "dune" {>= "1.1.0"}
3737+ "re" {>= "1.9.0"}
3838+ "uri" {>= "2.0.0"}
3939+ "uri-sexp"
4040+ "fieldslib"
4141+ "sexplib0"
4242+ "ppx_fields_conv" {>= "v0.9.0"}
4343+ "ppx_sexp_conv" {>= "v0.13.0"}
4444+ "stringext"
4545+ "base64" {>= "3.1.0"}
4646+ "stdlib-shims"
4747+ "fmt" {with-test}
4848+ "jsonm" {build}
4949+ "alcotest" {with-test}
5050+]
5151+build: [
5252+ ["dune" "subst"] {pinned}
5353+ ["dune" "build" "-p" name "-j" jobs]
5454+ ["dune" "runtest" "-p" name "-j" jobs] {with-test}
5555+]
5656+dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
5757+x-commit-hash: "a9bb82a16cad32725be56e06267871bebb0d972b"
5858+url {
5959+ src:
6060+ "https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.5/cohttp-v2.5.5.tbz"
6161+ checksum: [
6262+ "sha256=352a8ef1288572ad0b00f5c63be62ed6daa6bf5c3d1203da13fa9a4b09c5957b"
6363+ "sha512=9c32228e6284e372d70d236cba35dc0aa822180779ca457caaa1f3a048cb3d5f4c6473046ac4c92e2f608b15e44d03ff431163776bd46a093c9f1ed8fbcc821d"
6464+ ]
6565+}