ResolveURI¶
Resolve a URI reference against a base URI per RFC 3986 section 5.
Given an absolute base URI and any URI-reference, produces the target URI
that the reference identifies relative to the base. This is the operation
browsers perform when resolving href attributes against the current
document URL.
The base must be an absolute URI (must have a scheme). Returns
BaseURINotAbsolute if the base lacks a scheme.
Constructors¶
create¶
Returns¶
- ResolveURI val^
Public Functions¶
apply¶
Resolve reference against base using the algorithm from RFC 3986
section 5.2.2. The base must have a scheme; the reference may be any
URI-reference (absolute or relative).
Parameters¶
Returns¶
- (URI val | BaseURINotAbsolute val)
eq¶
Parameters¶
- that: ResolveURI val
Returns¶
- Bool val
ne¶
Parameters¶
- that: ResolveURI val
Returns¶
- Bool val