package vif

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

vif-0.0.1.beta3.tbz
sha256=4da176d4f20bc5d2dc6f8960ece626c7815f5281680bbf99af3487bbb4419c2c
sha512=e225e6b977f92a243e900b4b6a728ef07b9469e17557c21457fe24e21c06be9bb176bc5f5847df64c702efb8f86538a0dac7bde09d8a68193c348aa3eec62748

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