Lumaktaw patungo sa pangunahing content

fetchWithCorsProxy

Callable

  • fetchWithCorsProxy(input: RequestInfo, init?: RequestInit, corsProxyUrl?: string, playgroundUrl?: string): Promise<Response>

  • Fetch directly where CORS permits it, otherwise retry through the configured proxy. Local HTTP uploads are buffered for HTTP/1.1 servers.


    Parameters

    • input: RequestInfo
    • optionalinit: RequestInit
    • optionalcorsProxyUrl: string
    • optionalplaygroundUrl: string

    Returns Promise<Response>