Interface ResponseContext

interface ResponseContext {
    fetch: ((input, init?) => Promise<Response>);
    init: RequestInit;
    response: Response;
    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
response: Response
url: string