api-def API Reference
    Preparing search index...

    Interface RequestHost

    interface RequestHost {
        api: Api;
        baseUrl: string;
        method: RequestMethod;
        path: string;
        responseType: ResponseType | undefined;
        validation: Validation;
        computeConfig<
            TParams extends string
            | undefined,
            TQuery extends Query,
            TBody extends Body | undefined,
            TState extends State,
            TRequestHeaders extends RawHeaders | undefined,
        >(
            config: RequestConfig<TParams, TQuery, TBody, TState, TRequestHeaders>,
        ): ComputedRequestConfig<TParams, TQuery, TBody, TState, TRequestHeaders>;
        getRequestBackend(): RequestBackend;
    }

    Implemented by

    Index
    api: Api
    baseUrl: string
    path: string
    responseType: ResponseType | undefined
    validation: Validation