WebURL Documentation Beta

Structures

IPv6Address

A 128-bit numerical identifier assigned to a device on an Internet Protocol, version 6 network.

IPv4Address

A 32-bit numerical identifier assigned to a device on an Internet Protocol, version 4 network.

Lazily​Percent​Decoded​UTF8

A Collection which lazily replaces all percent-encoded UTF8 code-units from its Source with their decoded code-units, and reverses substitutions of other code-units performed by EncodeSet.

Web​URL.​Form​Encoded​Query​Parameters

A view of the application/x-www-form-urlencoded key-value pairs in a URL's query.

Web​URL.​Form​Encoded​Query​Parameters.​Key​Value​Pairs

A Sequence allowing iteration over all form-encoded key-value pairs contained in a URL's query.

Web​URL.​JSModel

An interface to this URL whose properties have the same behaviour as the JavaScript URL class described in the URL Standard.

Web​URL.​Origin

Origins are the fundamental currency of the Web's security model.

Web​URL.​Path​Components

A view of the components in a hierarchical URL's path.

Web​URL.​UTF8View

A view of the UTF-8 code-units in a serialized URL.

Web​URL

A Uniform Resource Locator (URL) is a universal identifier, which often describes the location of a resource.

Enumerations

Octet​Arrangement

The way in which octets are arranged to form a multi-byte integer.

IPv4Address.​Parser​Result

A tri-state result which captures whether an IPv4 address failed to parse because it was invalid, or whether it failed because the given string does not look like an IP address.

Percent​Decode​Set

A namespace for percent-decode sets.

Percent​Encode​Set

A namespace for percent-encode sets.

Web​URL.​Host

A host is a domain, an IPv4 address, an IPv6 address, an opaque host, or an empty host. Typically a host serves as a network address, but it is sometimes used as opaque identifier in URLs where a network address is not necessary.

Protocols

Percent​Encode​Set​Protocol

A set of characters which should be transformed or substituted in order to percent-encode (or percent-escape) an ASCII string.

Typealiases

Lazily​Percent​Encoded​UTF8

A Collection which lazily percent-encodes its Source UTF8 code-units using a given EncodeSet. This collection only adds percent-encoding or substitutions; it does not decode any pre-existing percent-encoded or substituted code-points in Source.

Lazily​Percent​Decoded​UTF8Without​Substitutions

A Collection which lazily replaces all percent-encoded UTF8 code-units from its Source with their decoded code-units. It does not reverse any substitutions that may be a part of how Source is encoded.

Extensions

Collection
LazyCollectionProtocol
Slice
StringProtocol