Module Vif_core.Request0Source
Sourcetype 'socket t = {request : request;tls : Tls.Core.epoch_data option;reqd : reqd;socket : 'socket;on_localhost : bool;body : [ `V1 of H1.Body.Reader.t | `V2 of H2.Body.Reader.t ];queries : (string * string list) list;tags : Logs.Tag.set;
} Sourceand request = | V1 of H1.Request.t| V2 of H2.Request.t
Sourceval accept : 'a t -> string list Sourceval queries : 'a t -> (string * string list) list Sourceval meth : 'a t -> H1.Method.t Sourceval request_body :
'a t ->
[> `V1 of H1.Body.Reader.t | `V2 of H2.Body.Reader.t ] Sourceval report_exn : 'a t -> exn -> unit Sourceval on_localhost : 'a t -> bool