module Ocsigen_response: sig
.. end
type
t
val make : ?body:Cohttp_lwt.Body.t ->
?cookies:Ocsigen_cookie_map.t -> Cohttp.Response.t -> t
val update : ?response:Cohttp.Response.t ->
?body:Cohttp_lwt.Body.t ->
?cookies:Ocsigen_cookie_map.t -> t -> t
val of_cohttp : ?cookies:Ocsigen_cookie_map.t ->
Cohttp.Response.t * Cohttp_lwt.Body.t -> t
val to_cohttp : t -> Cohttp.Response.t * Cohttp_lwt.Body.t
val status : t -> Cohttp.Code.status
val set_status : t -> Cohttp.Code.status -> t
val cookies : t -> Ocsigen_cookie_map.t
val add_cookies : t -> Ocsigen_cookie_map.t -> t
: t -> Ocsigen_header.Name.t -> string option
: t -> Ocsigen_header.Name.t -> string list
: t -> Ocsigen_header.Name.t -> string -> t
: t ->
Ocsigen_header.Name.t -> string list -> t
: t -> Ocsigen_header.Name.t -> string -> t
: t ->
(Ocsigen_header.Name.t * string) list -> t
: t -> Ocsigen_header.Name.t -> t