g3-toolkit API Reference
    Preparing search index...

    Interface AdapterRequest

    Adapter middleware: composable request/response interceptors (M10.5.E2.T2).

    All adapters accept a middleware option. Middleware wraps the fetch call, enabling auth injection, retry, logging, and caching without modifying adapter internals.

    Framework-agnostic (D6).

    interface AdapterRequest {
        body?: string;
        headers: Record<string, string>;
        method: "GET" | "POST" | "PUT" | "DELETE";
        url: string;
    }
    Index

    Properties

    Properties

    body?: string
    headers: Record<string, string>
    method: "GET" | "POST" | "PUT" | "DELETE"
    url: string