Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Rock.Response
Sourcetype t = {
code : Cohttp.Code.status_code;
headers : Cohttp.Header.t;
body : Cohttp_lwt.Body.t;
env : Opium_kernel__.Hmap0.t;
}
val create :
?env:Opium_kernel__.Hmap0.t ->
?body:Cohttp_lwt.Body.t ->
?headers:Cohttp.Header.t ->
?code:Cohttp.Code.status_code ->
unit ->
t
val of_stream :
?env:Opium_kernel__.Hmap0.t ->
?headers:Cohttp.Header.t ->
?code:Cohttp.Code.status_code ->
string Lwt_stream.t ->
t