@adviser/cement - v0.0.0
    Preparing search index...

    Class WritableURL

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _sysURL: URL
    _protocol: string
    _pathname: string
    _hasHostpart: boolean

    Accessors

    • set origin(_h: string): void

      The origin read-only property of the URL interface returns a string containing the Unicode serialization of the origin of the represented URL.

      MDN Reference

      Parameters

      • _h: string

      Returns void

    • get href(): string

      The href property of the URL interface is a string containing the whole URL.

      MDN Reference

      Returns string

    • set href(h: string): void

      The href property of the URL interface is a string containing the whole URL.

      MDN Reference

      Parameters

      • h: string

      Returns void

    • get password(): string

      The password property of the URL interface is a string containing the password component of the URL.

      MDN Reference

      Returns string

    • set password(h: string): void

      The password property of the URL interface is a string containing the password component of the URL.

      MDN Reference

      Parameters

      • h: string

      Returns void

    • get username(): string

      The username property of the URL interface is a string containing the username component of the URL.

      MDN Reference

      Returns string

    • set username(h: string): void

      The username property of the URL interface is a string containing the username component of the URL.

      MDN Reference

      Parameters

      • h: string

      Returns void

    • get hash(): string

      The hash property of the URL interface is a string containing a '#' followed by the fragment identifier of the URL.

      MDN Reference

      Returns string

    • set hash(h: string): void

      The hash property of the URL interface is a string containing a '#' followed by the fragment identifier of the URL.

      MDN Reference

      Parameters

      • h: string

      Returns void

    • get host(): string

      The host property of the URL interface is a string containing the host, which is the URL.hostname, and then, if the port of the URL is nonempty, a ':', followed by the URL.port of the URL.

      MDN Reference

      Returns string

    • set host(h: string): void

      The host property of the URL interface is a string containing the host, which is the URL.hostname, and then, if the port of the URL is nonempty, a ':', followed by the URL.port of the URL.

      MDN Reference

      Parameters

      • h: string

      Returns void

    • get hostname(): string

      The hostname property of the URL interface is a string containing either the domain name or IP address of the URL.

      MDN Reference

      Returns string

    • set hostname(h: string): void

      The hostname property of the URL interface is a string containing either the domain name or IP address of the URL.

      MDN Reference

      Parameters

      • h: string

      Returns void

    • get pathname(): string

      The pathname property of the URL interface represents a location in a hierarchical structure.

      MDN Reference

      Returns string

    • set pathname(p: string): void

      The pathname property of the URL interface represents a location in a hierarchical structure.

      MDN Reference

      Parameters

      • p: string

      Returns void

    • get port(): string

      The port property of the URL interface is a string containing the port number of the URL.

      MDN Reference

      Returns string

    • set port(p: string): void

      The port property of the URL interface is a string containing the port number of the URL.

      MDN Reference

      Parameters

      • p: string

      Returns void

    • get protocol(): string

      The protocol property of the URL interface is a string containing the protocol or scheme of the URL, including the final ':'.

      MDN Reference

      Returns string

    • set protocol(p: string): void

      The protocol property of the URL interface is a string containing the protocol or scheme of the URL, including the final ':'.

      MDN Reference

      Parameters

      • p: string

      Returns void

    • get search(): string

      The search property of the URL interface is a search string, also called a query string, that is a string containing a '?' followed by the parameters of the URL.

      MDN Reference

      Returns string

    • set search(h: string): void

      The search property of the URL interface is a search string, also called a query string, that is a string containing a '?' followed by the parameters of the URL.

      MDN Reference

      Parameters

      • h: string

      Returns void

    • get searchParams(): URLSearchParams

      The searchParams read-only property of the access to the [MISSING: httpmethod('GET')] decoded query arguments contained in the URL.

      MDN Reference

      Returns URLSearchParams

    • set searchParams(h: URLSearchParams): void

      The searchParams read-only property of the access to the [MISSING: httpmethod('GET')] decoded query arguments contained in the URL.

      MDN Reference

      Parameters

      • h: URLSearchParams

      Returns void

    Methods

    • The toJSON() method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as js-nolint toJSON() None.

      MDN Reference

      Returns string