Scoop API

scoop:scoop.url:0.1.0

scoop.url

API

  • object FormUrlEncoded

    The application/x-www-form-urlencoded codec, with plus representing a space.

  • object PercentEncoding

    URI percent encoding for arbitrary bytes and UTF-8 text. A plus sign is ordinary data here; form encoding has a separate codec.

  • class Url

    An immutable URI/IRI reference. Parsing accepts relative references and non-HTTP schemes without network I/O. Equality and ordering use normalized ASCII serialization; parsing follows a strict profile without browser-style recovery.

  • class UrlAuthority

    A parsed authority preserving encoded user information, host, and an explicitly supplied port.

  • class UrlBackendException

    An allocation or parser-backend failure, separate from an ordinary invalid URL.

  • class UrlBuilder

    Mutable URI components used by url and Url.copy. Encoded properties preserve escaped data; raw-text operations encode their input. Each entry point validates the assembled reference.

  • enum UrlComponent

    The component responsible for a URL parsing or construction failure.

  • enum UrlHost

    A validated network host represented as a DNS A-label name or exact IP address bytes.

  • class UrlOrigin

    An HTTP origin identified by normalized scheme, DNS name or IP bytes, and effective port.

  • class UrlParseException

    A format failure with its component, optional original UTF-8 byte offset, detail, and optional IDNA cause.

  • class UrlQuery

    An immutable ordered query parameter collection preserving duplicates, absent values, and empty values. Text access requires valid UTF-8.

  • class UrlQueryParameter

    An independent byte snapshot of one query name and optional value. No value and an empty value remain distinct.

  • function url

    Configures an empty URI reference and returns an independent immutable URL.