package ocsigenserver
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A full-featured and extensible Web server
Install
dune-project
Dependency
Authors
Maintainers
Sources
7.0.0.tar.gz
md5=ecf37dc2e2ad43f38dfcca8f87ca04a9
sha512=96dffc87f11b82b810d95d6e0cad69ce12a6763425e6e59f211dd71492d777a0cd1aeca722c0c9fd9ec8bb55cad7ae0ba1c781a8129a18de86f0f3accb278118
doc/ocsigenserver.baselib/Ocsigen_lib/Url/index.html
Module Ocsigen_lib.UrlSource
include module type of Url_base with type t = Url_base.t
type t = Url_base.tmake_absolute_url https host port path generates a new absolute url
is_prefix_skip_end_slash path1 path2 returns true if path1 is the same as path2 before a first slash
val join_path : path -> stringSource
val parse :
t ->
bool option
* string option
* int option
* string
* string list
* string option
* (string * string) list Lazy.tparse url returns a tuple containing information about url
- If url contains scheme 'https'
- host of url (ex: http://www.ocsigen.org/ -> www.ocsigen.org)
- port of url
- path as
stringwithout first '/' - path as
string list - GET query of url
- lazy value to decode GET query
prefix_and_path_of_t url splits url in a couple (prefix, path) where prefix is "http(s)://host:port" and path is the path as string list
Example: prefix_and_path_of_t "http://ocsigen.org:80/tuto/manual" returns ("http://ocsigen.org:80", ["tuto", "manual"]).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>