package cohttp
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=499cd8b094cee4b00fe6b9f6322680f81fe87161e963a196b109c1882610af62
sha512=701b946af0a84c9f5d1f5131fc4cea9b35fa2fd18d67460eb0caf4f916acc4ae8695d65594d0e0074f2729dc9ca54cfd984b1863a6f7dc345e171be4e3c3b258
Description
Cohttp is an OCaml library for creating HTTP daemons. It has a portable HTTP parser, and implementations using various asynchronous programming libraries.
See the cohttp-async, cohttp-lwt, cohttp-lwt-unix, cohttp-lwt-jsoo and cohttp-mirage libraries for concrete implementations for particular targets.
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.
Published: 28 Jul 2026
Dependencies (12)
Used by (78)
- anthropic
- aws-async
- aws-lwt
- awskit-eio
- awskit-lwt
- awskit-lwt-unix
- awsm-codegen
- awso
- azblob
- azblob-async
- azure-cosmos-db
- caldav
- canary
-
cca
>= "0.6.2" -
cohttp-async
>= "6.2.2" -
cohttp-bench
>= "6.2.2" -
cohttp-curl-lwt
>= "6.2.2" -
cohttp-eio
>= "6.2.2" -
cohttp-lwt
>= "6.2.2" -
cohttp-lwt-jsoo
>= "6.2.2" -
cohttp-lwt-unix
>= "6.2.2" - cohttp-lwt-unix-bin
-
cohttp-mirage
>= "6.2.2" -
cohttp-top
>= "6.2.2" -
cohttp_async_websocket
>= "v0.16.0" - comby-semantic
- cowabloga
-
current_github
< "0.6.2" -
current_web
< "0.6.2" - dblp-api
- dropbox
- frenetic
- git-cohttp
- git-cohttp-unix
-
git-unix
< "3.2.0" - github
-
github-jsoo
>= "4.4.0" -
github-unix
>= "4.2.0" - gitlab-jsoo
- gitlab-unix
- gradescope_submit
-
graphql-cohttp
< "0.9.0" - hockmd
- influxdb-async
- influxdb-lwt
- ip2location
- ip2locationio
- ip2whois
- irmin-cli
- irmin-graphql
- irmin-http
- irmin-unix
- learn-ocaml
- learn-ocaml-client
- links
- magic-trace
- miaou-core
- mqtt
- nsq
- oframl
- ojs-base
-
opam-publish
>= "2.7.1" -
opentelemetry-cohttp-lwt
>= "0.90" - opium_kernel
- picos_meta
-
prometheus-app
< "1.2" - quests
- reddit_api_kernel
- river
- sentry
- session-cohttp
-
smtml
>= "0.7.0" - snf_mcp
- telegraml
- tidy_email_mailgun
- webmachine
- websocket
- yocaml_runtime
Conflicts
None