package vif
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
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/Response/index.html
Module Vif_core.ResponseSource
Source
type ('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) t
Source
val redirect_to :
?with_get:??? ->
?status:??? ->
('a, 'b, 'c) Vif_core__.Vif_request.t ->
(Tyre.evaluable, 'd, (filled, sent, unit) t) Vif_core__.Vif_uri.t ->
'dSource
val with_source :
?compression:??? ->
('a, 'b, 'c) Vif_core__.Vif_request.t ->
string Flux.source ->
(empty, filled, unit) tSource
val with_stream :
?compression:??? ->
('a, 'b, 'c) Vif_core__.Vif_request.t ->
string Flux.stream ->
(empty, filled, unit) tSource
val with_tyxml :
?compression:??? ->
('a, 'b, 'c) Vif_core__.Vif_request.t ->
Tyxml.Html.doc ->
(empty, filled, unit) tSource
val respond_string :
?headers:??? ->
H2.Status.t ->
'a Vif_core__.Vif_request0.t ->
string ->
unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>