Module Body.Reader

Reader represents streaming request bodies. Readers can work with both fixed length and chunk encoded bodies.

type t
val sexp_of_t : t -> Sexplib0.Sexp.t
val encoding : t -> [ `Chunked | `Fixed of int ]
val pipe : t -> Core.Bigstring.t Core_unix.IOVec.t Async.Pipe.Reader.t