Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Vif_core.ResponseSourcetype ('p, 'q, 'a) t = | Add_header : string * string -> ('p, 'p, unit) t| Add_unless_exists : string * string -> ('p, 'p, bool) t| Set_header : string * string -> ('p, 'p, unit) t| Rem_header : string -> ('p, 'p, unit) t| Return : 'a -> ('p, 'p, 'a) t| Bind : ('p, 'q, 'a) t * ('a -> ('q, 'r, 'b) t) -> ('p, 'r, 'b) t| Source : string Flux.source -> (empty, filled, unit) t| Stream : string Flux.stream -> (empty, filled, unit) t| String : string -> (empty, filled, unit) t| Websocket : (empty, sent, unit) t| Respond : [ Vif_core__.Vif_status.standard | `Code of int ] -> (filled,
sent,
unit)
tval redirect_to :
?with_get:bool ->
('a, 'b, 'c) Vif_core__.Vif_request.t ->
(Tyre.evaluable, 'd, (filled, sent, unit) t) Vif_core__.Vif_uri.t ->
'dval with_source :
?compression:[> `DEFLATE | `Gzip ] ->
('a, 'b, 'c) Vif_core__.Vif_request.t ->
string Flux.source ->
(empty, filled, unit) tval with_stream :
?compression:[> `DEFLATE | `Gzip ] ->
('a, 'b, 'c) Vif_core__.Vif_request.t ->
string Flux.stream ->
(empty, filled, unit) tval with_tyxml :
?compression:[> `DEFLATE | `Gzip ] ->
('a, 'b, 'c) Vif_core__.Vif_request.t ->
Tyxml.Html.doc ->
(empty, filled, unit) tval with_json :
?compression:[> `DEFLATE | `Gzip ] ->
('a, 'b, 'c) Vif_core__.Vif_request.t ->
?format:Jsont.format ->
?number_format:Jsont.number_format ->
'd Jsont.t ->
'd ->
(empty, filled, unit) tval upgrade :
?headers:(H1.Headers.name * H1.Headers.value) list ->
'a Vif_core__.Vif_request0.t ->
unit