package vif

  1. Overview
  2. Docs
A simple web framework for OCaml 5

Install

dune-project
 Dependency

Authors

Maintainers

Sources

vif-0.0.1.beta6.tbz
sha256=98c4b7959e5a2289179e26c4c378720f4c60b920bf5be2c1c1ba8bac82b4230b
sha512=20c155e32073ccee63996f8012d1dadfae6c0f7a8f838729566d36b426a26953be94ce0edf4e6a47007f1b9b0af45a028667258d7b14bbcbc282b099feae0f33

doc/vif.core/Vif_core/Request0/index.html

Module Vif_core.Request0Source

Sourceval src : Logs.src
Sourcetype 'socket t = {
  1. request : request;
  2. tls : Tls.Core.epoch_data option;
  3. reqd : reqd;
  4. conn : conn;
  5. socket : 'socket;
  6. on_localhost : bool Lazy.t;
  7. body : [ `V1 of H1.Body.Reader.t | `V2 of H2.Body.Reader.t ];
  8. queries : (string * string list) list Lazy.t;
  9. tags : Logs.Tag.set Lazy.t;
}
Sourceand request =
  1. | V1 of H1.Request.t
  2. | V2 of H2.Request.t
Sourceval accept : 'a t -> string list
Sourceval tags : 'a t -> Logs.Tag.set
Sourceval to_source : src:Logs.src -> [< `V1 of H1.Reqd.t | `V2 of H2.Reqd.t ] -> string Flux.source
Sourceval of_reqd : ?with_tls:??? -> ?peer:??? -> ?is_localhost:??? -> 'a -> conn -> reqd -> 'a t
Sourceval headers : 'a t -> (H1.Headers.name * H1.Headers.value) list
Sourceval queries : 'a t -> (string * string list) list
Sourceval meth : 'a t -> H1.Method.t
Sourceval target : 'a t -> string
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 version : 'a t -> int
Sourceval tls : 'a t -> Tls.Core.epoch_data option
Sourceval on_localhost : 'a t -> bool
Sourceval reqd : 'a t -> reqd
Sourceval source : 'a t -> string Flux.source
Sourceval close : 'a t -> unit
Sourceval shutdown : 'a t -> unit