package cohttp-lwt-unix
An OCaml library for HTTP clients and servers
Install
Dune Dependency
Authors
Maintainers
Sources
cohttp-0.99.0.tbz
sha256=ad79462819b141e6054ae32560a16fcdfd93a1ab0c0245f801b3791fdbbe2f2e
md5=a789a9ed492005257bdb217e2248da0d
Description
Cohttp is an OCaml library for creating HTTP daemons. It has a portable HTTP parser, and implementations using various asynchronous programming libraries:
Cohttp_lwt_unix
uses the Lwt library, and specifically the UNIX bindings.Cohttp_async
uses the Async library.Cohttp_lwt
exposes an OS-independent Lwt interface, which is used by the Mirage interface to generate standalone microkernels (see the mirage-http repository).Cohttp_lwt_xhr
compiles to a JavaScript module that maps the Cohttp calls to XMLHTTPRequests. This is used to compile OCaml libraries like the GitHub bindings to JavaScript and still run efficiently.
You can implement other targets using the parser very easily. Look at the IO
signature in lib/s.mli
and implement that in the desired backend.
You can activate some runtime debugging by setting COHTTP_DEBUG
to any
value, and all requests and responses will be written to stderr. Further
debugging of the connection layer can be obtained by setting CONDUIT_DEBUG
to any value.
Dependencies (9)
- base-unix
-
lwt
>= "3.0.0" & < "4.0.0"
-
cohttp-lwt
>= "0.99" & < "1.0"
- fmt
- logs
- cmdliner
-
conduit-lwt-unix
< "2.0.0"
-
jbuilder
>= "1.0+beta10"
-
ocaml
>= "4.03.0"
Dev Dependencies (1)
-
ounit
with-test
Used by (69)
- aws-lwt
-
aws-s3-lwt
< "4.0.0"
- awsm-lwt
- azure-cosmos-db
- bitcoin-cohttp-lwt
-
calculon-web
< "0.5"
- canary
- comby
- comby-semantic
-
cowabloga
>= "0.4.0"
- curly
-
current_github
< "0.5"
-
current_slack
< "0.4"
-
datakit-ci
= "0.12.0"
- dblp-api
- dropbox_lwt_unix
- equinoxe-cohttp
- git-cohttp-unix
-
git-unix
= "1.11.2" | >= "3.4.0" & < "3.7.0"
- github-hooks-unix
-
github-unix
>= "3.0.1" & < "4.4.0"
-
graphql-cohttp
>= "0.13.0"
-
graphql-lwt
= "0.3.0"
- grpc-examples
- hockmd
-
horned_worm
< "0.3.1"
- influxdb-lwt
- ip2location
- ip2locationio
- ip2whois
- irmin-cli
-
irmin-git
>= "3.4.0"
-
irmin-graphql
>= "2.2.0"
-
irmin-http
>= "2.6.0" & < "3.4.0"
- irmin-server
-
irmin-unix
>= "2.3.0"
-
js_of_ocaml-toplevel
>= "3.10.0"
- kappa-server
-
ketrew
>= "3.2.1"
-
links
>= "0.9"
-
mechaml
>= "1.0.0"
-
nsq
>= "0.2.4"
- ocamlapi_lwt_unix
-
ocluster
< "0.2.1"
-
ocsigen-start
>= "2.2.2"
-
ocsigenserver
>= "3.0.0" & < "5.1.0"
- oframl
-
opam2web
>= "2.0"
- opentelemetry-client-cohttp-lwt
- opentelemetry-lwt
-
opium
>= "0.16.0" & < "0.19.0"
-
oraft
< "0.3.0"
- ozulip
-
prof_spacetime
>= "0.2.0"
-
prometheus-app
>= "0.4" & < "1.2"
- prometheus-liquidsoap
- quests
-
smtml
>= "0.3.1"
- socialpeek
-
spotify_ml
>= "push"
- terminus-cohttp
- textrazor
- tldr
-
wcs
>= "2017-05-26.01"
-
wcs-api
< "2017-05-26.03"
-
wcs-lib
< "2017-05-26.01"
-
websocket-lwt
< "2.11"
-
yurt
= "0.3"
- zeit
Conflicts (1)
-
lwt
< "2.5.0"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page