@antoinette-agency/sofetch
    Preparing search index...

    Interface SoFetchLike<TResponse>

    interface SoFetchLike<TResponse = unknown> {
        config: SoFetchConfig;
        verbose: boolean;
        delete<T>(url: string, body?: UploadPayload): SoFetchPromise<T>;
        get<T>(url: string, body?: UploadPayload): SoFetchPromise<T>;
        instance(configOrAuthKey?: string | SoFetchConfig): SoFetchLike<TResponse>;
        patch<T>(url: string, body?: UploadPayload): SoFetchPromise<T>;
        post<T>(url: string, body?: UploadPayload): SoFetchPromise<T>;
        put<T>(url: string, body?: UploadPayload): SoFetchPromise<T>;
        <T>(url: string, body?: UploadPayload): SoFetchPromise<T>;
    }

    Type Parameters

    • TResponse = unknown
    Index

    Properties

    verbose: boolean

    Methods

    post