Module url

Source
Available on crate feature auth only.
Expand description

URL functionality.

This module re-exports url::Url and provides the Error type that wraps url::ParseError to provide diagnostics.

Structs§

Error
Wraps url::ParseError to provide diagnostics.
Url
A parsed URL record.

Constants§

BASE_ALWAYS_VALID
The message indicating that the OTP base URL is always valid.

Functions§

base
Returns the base OTP URL for the given type and label.
decode
Decode percent-encoded string assuming UTF-8 encoding.
encode
Percent-encodes every byte except alphanumerics and -, _, ., ~. Assumes UTF-8 encoding.
parse
Parses the given string into Url.