Documentation
    Preparing search index...

    Interface ResourceFetchInit

    Read-only metadata passed from the resource service to a runtime resolver.

    interface ResourceFetchInit {
        authorizeNetwork?: AuthorizeNetwork;
        headers?: Record<string, string>;
        method?: string;
        signal: AbortSignal;
        windowId?: string;
    }
    Index

    Properties

    authorizeNetwork?: AuthorizeNetwork

    Authorize every actual HTTP(S) or WebSocket destination before the resolver contacts it.

    headers?: Record<string, string>

    Optional runtime-owned request headers.

    method?: string

    Read-only HTTP method selected by the service.

    signal: AbortSignal

    Request-scoped cancellation signal.

    windowId?: string

    Authenticated source window, for runtime-private scoped policy state.