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/Flow/index.html

Module Runtime.FlowSource

Sourceexception Closed_by_peer
Sourcemodule type S = sig ... end
Sourcemodule type BYTES = sig ... end

A flow which can only speak bytes/string. Use Of_bytes to obtain an S out of it.

Sourceval default_chunk_size : int
Sourcemodule type CHANNEL = sig ... end

The result of Of_bytes: a bigstring flow which owns the scratch buffer needed to talk to the underlying bytes/string one.

Sourcemodule Of_bytes (Flow : BYTES) : CHANNEL with type flow = Flow.t