package vif

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

vif-0.0.1.beta2.tbz
sha256=a16ff3dba7675d237d59188b032052b383ad9e367eb7c570c4e6e78b978b98e5
sha512=ad553f15f33f9f2427b691713f630476fd1f15b4cb61944a401cfb35c29dd3d1d3760b02dd211bddd39b6cf6ccc8ea5d9f88eefc3776611e2a7020242a16b9a9

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. socket : 'socket;
  5. on_localhost : bool;
  6. body : [ `V1 of H1.Body.Reader.t | `V2 of H2.Body.Reader.t ];
  7. queries : (string * string list) list;
  8. tags : Logs.Tag.set;
}
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:('a -> Tls.Core.epoch_data option) -> ?peer:('a -> string) -> ?is_localhost:('a -> bool) -> 'a -> 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