Interface RequestContext

interface RequestContext {
    fetch: ((input, init?) => Promise<Response>);
    init: RequestInit;
    url: string;
}

Properties

Properties

fetch: ((input, init?) => Promise<Response>)

Type declaration

    • (input, init?): Promise<Response>
    • Parameters

      • input: RequestInfo | URL
      • Optional init: RequestInit

      Returns Promise<Response>

init: RequestInit
url: string