package awsm

  1. Overview
  2. Docs
type 's t
and ('a, 's) stream = unit -> ('a option, 's) Monad.app
val version : 's t -> int * int
val reason : 's t -> string
val status : 's t -> Status.t
val headers : 's t -> Headers.t
val body : 's t -> (string, 's) stream
val body_to_string : ?buffer:int -> 's Monad.t -> 's t -> (string, 's) Monad.app
val make : ?version:(int * int) -> ?reason:string -> ?headers:Headers.t -> body:(string, 's) stream -> Status.t -> 's t
OCaml

Innovation. Community. Security.