map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface AfterInterceptorData

    Arguments available to 'after' interceptors.

    interface AfterInterceptorData {
        context: Record<string | symbol, unknown>;
        options: InterceptorOptions;
        request: Request;
        response: Response;
        signal?: AbortSignal;
        target: URL;
    }
    Index

    Properties

    context: Record<string | symbol, unknown>

    The context object is a per-request object that is passed to all interceptors. It can be used to keep interceptor state for a request.

    Use a sensible namespace string or a symbol to store state to avoid naming collisions.

    The options used when making the request.

    request: Request

    The request that was sent to the server.

    response: Response

    The response returned by the server.

    signal?: AbortSignal

    AbortSignal for cancellation support.

    target: URL

    The request's target URL, including query parameters. This is the original URL, before the request was potentially re-routed over a proxy server.