package httpcats

  1. Overview
  2. Docs

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