package cohttp-lwt
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
An OCaml library for HTTP clients and servers
Install
dune-project
Dependency
Authors
Maintainers
Sources
cohttp-v1.2.0.tbz
sha256=3f71a5652aeb65c5ca54881ba6fa862a0acfad23f7516e762f6292d444daa942
md5=7aa3d4582848afff9a62f866b23173e1
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_unixuses the Lwt library, and specifically the UNIX bindings.Cohttp_asyncuses the Async library.Cohttp_lwtexposes an OS-independent Lwt interface, which is used by the Mirage interface to generate standalone microkernels (use the cohttp-mirage subpackage).Cohttp_lwt_xhrcompiles 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 (6)
Dev Dependencies
None
Used by (27)
- aws-lwt
- bitcoin-cohttp-lwt
- canary
-
cohttp-lwt-unix
< "2.5.8" - git-cohttp
- git-http
-
github
< "4.4.0" - github-hooks
- irmin-cli
- irmin-graphql
- irmin-http
- irmin-mirage-graphql
- irmin-unix
-
ldp_curl
>= "0.2.0" & < "0.4.0" - links
- mechaml
-
multipart_form-cohttp-lwt
< "0.6.0" - opentelemetry-client-cohttp-lwt
- opium_kernel
- paf-cohttp
-
prometheus-app
< "1.2" - resto-cohttp
-
resto-cohttp-client
< "1.0" - resto-cohttp-self-serving-client
- session-cohttp-lwt
- telegraml
- vpnkit
Conflicts (1)
-
lwt
< "2.5.0"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page