AniLink - v3.0.0
    Preparing search index...

    Interface RequestContext

    Context passed to the onRequestStart hook just before an attempt is sent.

    interface RequestContext {
        attempt: number;
        method: HttpMethod;
        requestId: string;
        url: string;
    }

    Hierarchy (View Summary)

    Index
    attempt: number

    The 1-based attempt about to run.

    method: HttpMethod

    The HTTP method of the request.

    requestId: string

    Library-generated correlation ID identifying one logical request across all of its attempts; see RequestErrorContext.requestId.

    url: string

    The URL the request is being sent to.