package ocsigenserver

  1. Overview
  2. Docs
A full-featured and extensible Web server

Install

Dune Dependency

Authors

Maintainers

Sources

5.0.1.tar.gz
md5=528d59a39e9bda4c628022b4f1e0951e
sha512=1b8653487722ad26c0c0bfcf820402a783018039ce8b7c749ffb57bc80eeb1234464950ee639cb951c5b3dde1b4e85a992dfbbc782d55e7c2a356ff2f28a3917

doc/ocsigen_lib_base/Ocsigen_lib_base/Url_base/index.html

Module Ocsigen_lib_base.Url_baseSource

Sourcetype t = string
Sourcetype uri = string
Sourceval make_absolute_url : https:bool -> host:string -> port:int -> uri -> t

make_absolute_url https host port path generates a new absolute url

Sourcetype path = string list
Sourceval remove_dotdot : path -> path

remove_dotdot path cleans the path of ..

Sourceval remove_end_slash : string -> string

remove_end_slash str removes last /

Sourceval remove_internal_slash : path -> path

remove_internal_slash path cleans the path of empty string

Sourceval change_empty_list : path -> path
Sourceval add_end_slash_if_missing : path -> path
Sourceval remove_slash_at_end : path -> path
Sourceval remove_slash_at_beginning : path -> path
Sourceval is_prefix_skip_end_slash : string list -> string list -> bool

is_prefix_skip_end_slash path1 path2 returns true if path1 is the same as path2 before a first slash

Sourceval split_fragment : string -> string * string option

split_fragment str splits str at first '#'

Sourceval join_path : path -> string
OCaml

Innovation. Community. Security.