← All repos

ocaml-cohttp

An OCaml library for HTTP clients and servers using Lwt or Async

httphttp-clientlwtocamlunix
Browse cluster: OCaml Systems and Utilities
3,175commits
108contributors
6languages

Tech stack & purpose

Ocaml-cohttp is an OCaml library for creating HTTP clients and servers with support for multiple asynchronous programming backends. The project provides a portable HTTP parser and implementations built on Lwt, Async, libcurl, eio, and other libraries, with specialized modules like `Cohttp_lwt_unix` for UNIX bindings, `Cohttp_async` for the Async library, `Cohttp_lwt_jsoo` for JavaScript compilation, and `Cohttp_eio` for multicore OCaml 5.0. The library is maintained by the Mirage project and handles HTTPS connections through backends like ocaml-tls and async_ssl, while also supporting features such as custom resolvers, redirect handling, timeouts, and proxy configuration.

Community & reference links

Languages

OCaml
97.2%
Dune
1.7%
Nix
0.9%
JavaScript
0.1%
Shell
0.1%
Makefile
0.1%

Contributors (top 30 of 108)