• Parameters

    • baseURL: string

      The base URL of the request

    • Optional pathname: string

      The url path

    • Optional searchParams: Record<string, string>

      any search params

    Returns URL

    instance of URL

    Description

    Creates a new URL object that can be used to retrieve a structured URL for fetching

Generated using TypeDoc