package stog

  1. Overview
  2. Docs

Module Stog.UrlSource

URLs.

Sourcetype t
Sourceval wrapper : t Ocf.wrapper
Sourcetype url_config = {
  1. pub : t;
  2. priv : t;
}
Sourceval url_config_wrapper : url_config Ocf.wrapper
Sourceval default_url_config : t -> url_config
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval concat : t -> string -> t
Sourceval append : t -> string list -> t
Sourceval path : t -> string list
Sourceval with_path : t -> string list -> t
Sourceval remove_ending_slash : t -> t
Sourceval remove_query : t -> t
Sourceval with_fragment : t -> string option -> t

Accessing parts of URLs

Raise Failure if the requested part is not defined.

Sourceval scheme : t -> string
Sourceval port : t -> int
Sourceval host : t -> string
OCaml

Innovation. Community. Security.