package http_async

  1. Overview
  2. Docs

Module Body.WriterSource

Sourcetype t

Writer represents response bodies. It supports both fixed length bodies represented via strings/bigstrings, and streaming bodies.

Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval encoding : t -> [ `Chunked | `Fixed of int ]
Sourceval empty : t
Sourceval string : string -> t
Sourceval bigstring : Core.Bigstring.t -> t
Sourceval stream : ?encoding:[ `Chunked | `Fixed of int ] -> Core.Bigstring.t Core_unix.IOVec.t Async.Pipe.Reader.t -> t
OCaml

Innovation. Community. Security.