package http_async
-
http_async
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Writer
represents response bodies. It supports both fixed length bodies represented via strings/bigstrings, and streaming bodies.
val sexp_of_t : t -> Sexplib0.Sexp.t
val encoding : t -> [ `Chunked | `Fixed of int ]
val empty : t
val string : string -> t
val bigstring : Core.Bigstring.t -> t
val stream :
?encoding:[ `Chunked | `Fixed of int ] ->
Core.Bigstring.t Core_unix.IOVec.t Async.Pipe.Reader.t ->
t