Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Trail.Request
Sourcetype body_reader =
Atacama.Connection.t ->
[ `ok of Riot.Bytestring.t
| `more of Riot.Bytestring.t
| `error of Riot.IO.io_error ]
type t = {
body_remaining : int;
buffer : Riot.Bytestring.t;
encoding : Http.Transfer.encoding;
headers : Http.Header.t;
meth : Http.Method.t;
path : string list;
query : (string * string list) list;
uri : Uri.t;
version : Http.Version.t;
}
val make :
?body:Riot.Bytestring.t ->
?meth:Http.Method.t ->
?version:Http.Version.t ->
?headers:(string * string) list ->
string ->
t