package httpcats

  1. Overview
  2. Docs
A simple HTTP client / server using h1, h2, and miou

Install

dune-project
 Dependency

Authors

Maintainers

Sources

httpcats-0.3.3.tbz
sha256=e07ecc6ed9ae9dbf5ae24f7ffcc439357d37e3efe2748c4d4e0dcad732ea3712
sha512=1a5a0f288a812ae60fecd9a693aaeb44598fb6bbf33dd5f1687662da79dc2b5c6a6c45cc37f5d031c126816356fecf0ef04372e85f0813e1589ee16bbd19fb44

doc/httpcats.runtime/Runtime/module-type-CONNECTION/index.html

Module type Runtime.CONNECTIONSource

Sourcetype conn
Sourcetype flow
Sourceval run : conn -> ?tags:Logs.Tag.set -> ?read_buffer_size:int -> ?upgrade:(flow -> unit) -> flow -> unit Miou.t

run conn ?read_buffer_size flow runs the given state-machine conn on top of flow.

read_buffer_size is the initial size of the bigstring where we accumulate what the peer sends us (it grows on demand); it should be H1.Config.read_buffer_size / H2.Config.read_buffer_size.