Documentation
    Preparing search index...

    Interface ResourceBytesRequest

    Inbound: napplet requests bytes from an origin. Shell consults getConnectGrants(dTag, aggregateHash) before proxying; ungranted origins receive a denied error (RESOURCE-01 H-03 prevention).

    interface ResourceBytesRequest {
        id?: string;
        init?: { headers?: Readonly<Record<string, string>>; method?: string };
        requestId?: string;
        type: "resource.bytes";
        url: string;
    }
    Index

    Properties

    id?: string

    Current NAP-RESOURCE correlation ID.

    init?: { headers?: Readonly<Record<string, string>>; method?: string }

    Optional subset of fetch init (method, headers). Body bytes are shell-proxy-internal.

    requestId?: string

    Legacy Kehto correlation ID.

    type: "resource.bytes"
    url: string