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.2.tbz
sha256=9f4227667fbb8da0db7f759a30009d8770cf31f91f7b09a471740055f47cd6b8
sha512=9119d5664e7c318f92e05980bf9f758421e1d9e7d6ae486e730e7ddb3f3a375bf33c468cca4287f02ebee4dc68f125f18c2aa10a7399f74fa273126571488623

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