interface AgentFetchOptions {
    fetcher?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    headers?: Record<string, string>;
    params?: Record<string, any>;
    signal?: AbortSignal;
}

Hierarchy

Properties

fetcher?: {
    (input, init?): Promise<Response>;
    (input, init?): Promise<Response>;
}

Type declaration

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

      • input: URL | RequestInfo
      • Optional init: RequestInit

      Returns Promise<Response>

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

      • input: string | URL | Request
      • Optional init: RequestInit

      Returns Promise<Response>

headers?: Record<string, string>
params?: Record<string, any>
signal?: AbortSignal

Generated using TypeDoc