Function setHost

  • Set the specified host to the given URL.

    Parameters

    • url: URLInput

      The URL to modify.

    • host: string

      The new host value to set.

    Returns URL

    The modified URL with the updated host.

Generated using TypeDoc