httpcats.runtime
Runtime.Flow
httpcats
httpcats.core
exception Closed_by_peer
module type S = sig ... end
module type BYTES = sig ... end
A flow which can only speak bytes/string. Use Of_bytes to obtain an S out of it.
bytes
string
Of_bytes
S
val default_chunk_size : int
module 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.
module Of_bytes (Flow : BYTES) : CHANNEL with type flow = Flow.t