package b0

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module B0_url.AuthoritySource

Sloppy authority processing.

Sourceval userinfo : authority -> string option

userinfo a is anything before the lefmost '@' (if any)

Sourceval host : authority -> string

host a is anything between the first '@' (if any) and the ':' separating the port.

Sourceval port : authority -> int option

port a is the port made of suffix decimal digits before a ':'.