package opium_kernel
Sinatra like web toolkit based on Lwt + Cohttp
Install
Dune Dependency
Authors
Maintainers
Sources
opium-0.18.0.tbz
sha256=f80ccf9c36665c2db240482eeb0cc968a9e66ad2b7a811298658df52f84b5e28
sha512=345585719e58b8a08b45244123f03e094a9c67ad8c2ee903dac4d8b646703cfea74ab87a82f43cf6113ad394c296bddb4bb5fbd910ed8511693b5ec6867baece
doc/opium_kernel/Opium_kernel/Rock/Response/index.html
Module Rock.Response
Source
Source
type t = {
code : Cohttp.Code.status_code;
headers : Cohttp.Header.t;
body : Cohttp_lwt.Body.t;
env : Opium_kernel__.Hmap0.t;
}
Source
val create :
?env:Opium_kernel__.Hmap0.t ->
?body:Cohttp_lwt.Body.t ->
?headers:Cohttp.Header.t ->
?code:Cohttp.Code.status_code ->
unit ->
t
Source
val of_stream :
?env:Opium_kernel__.Hmap0.t ->
?headers:Cohttp.Header.t ->
?code:Cohttp.Code.status_code ->
string Lwt_stream.t ->
t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>