package vifu

  1. Overview
  2. Docs

Module Vifu.RequestSource

Sourcetype ('c, 'a) t
Sourceval target : ('c, 'a) t -> string
Sourceval meth : ('c, 'a) t -> Method.t
Sourceval version : ('c, 'a) t -> int
Sourceval headers : ('c, 'a) t -> Headers.t
Sourceval accept : ('c, 'a) t -> string list
Sourceval of_json : (Type.json, 'a) t -> ('a, [> `Msg of string ]) result
Sourceval of_multipart_form : (Type.multipart_form, 'a) t -> ('a, [> `Not_found of string | `Invalid_multipart_form ]) result
Sourceval source : ('c, 'a) t -> string Flux.source
Sourceval get : ('cfg, 'v) Middleware.t -> ('c, 'a) t -> 'v option
Sourcetype request
Sourceval headers_of_request : request -> Headers.t
Sourceval method_of_request : request -> Method.t
Sourceval target_of_request : request -> string