package ocsigenserver
A full-featured and extensible Web server
Install
Dune Dependency
Authors
Maintainers
Sources
5.1.2.tar.gz
md5=cc9afaa6cad28fb2b6c803ed6cec308f
sha512=9096bc31a55f9d47f5f9b708b16d8b32cfcab99e514bce086046cf78e9731076bf2adac7e68b4291f3a0e65048e70e7c43fa2df8b80ae0eed62840db3e216b77
doc/ocsigenserver/Ocsigen_cohttp/index.html
Module Ocsigen_cohttp
Source
use Lwt_log.Section.set_level in order to debug
Exception raised by exceptions to describe an HTTP error. It is possible to pass the code of the error, an optional comment, and optionally some headers.
compute a redirection if path links to a directory
accessor to get number of client (used by eliom monitoring)
Shutdown main loop of server
Source
val service :
?ssl:(string * string * (bool -> string) option) ->
address:Ocsigen_config.socket_type ->
port:int ->
connector:(Ocsigen_request.t -> Ocsigen_response.t Lwt.t) ->
unit ->
unit Lwt.t
initialize a main loop of http server
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>