Url object class which can perform various transformations on url strings.

Hierarchy

  • UrlString

Constructors

Accessors

Methods

  • Parses out the components from a url string.

    Returns IUri

    An object with the various components. Please cache this value insted of calling this multiple times on the same url.

  • Throws if urlString passed is not a valid authority URI string.

    Returns void

  • Given a url and a query string return the url with provided query string appended

    Parameters

    • url: string
    • queryString: string

    Returns string

  • Ensure urls are lower case and end with a / character.

    Parameters

    • url: string

    Returns string

  • Parameters

    • relativeUrl: string
    • baseUrl: string

    Returns string

  • Parameters

    • url: string

    Returns string

  • Check if the hash of the URL string contains known properties

    Parameters

    • response: string

    Returns boolean

    Deprecated

    This API will be removed in a future version

  • Returns a url with the hash removed

    Parameters

    • url: string

    Returns string

Generated using TypeDoc