kit
    Preparing search index...

    Type Alias EndpointRequestProcessor<TEndpoints, TEndpoint, TMethod>

    EndpointRequestProcessor: (
        method: TMethod,
        url: string,
        query: EndpointOptions<TEndpoints, TEndpoint, TMethod>["query"],
        json: EndpointOptions<TEndpoints, TEndpoint, TMethod>["json"],
        params: EndpointOptions<TEndpoints, TEndpoint, TMethod>["params"],
        requestInit: RequestInit,
    ) => [
        string,
        EndpointOptions<TEndpoints, TEndpoint, TMethod>["query"],
        EndpointOptions<TEndpoints, TEndpoint, TMethod>["json"],
        EndpointOptions<TEndpoints, TEndpoint, TMethod>["params"],
        RequestInit,
    ]

    The request processor at the request level, this is meant to apply transformations to a single endpoint request. Request processor applied at the whole client level is still applied just before this one, hence one might set some global processing and override it or undo it at the single request level.

    Type Parameters

    Type Declaration