@shortcut/client
    Preparing search index...

    Interface ShortcutNodeRequest

    The subset of Node's http.IncomingMessage the Node handler uses. It is structural so the declarations never depend on @types/node, which keeps the entrypoint usable from Workers, Deno, and Bun projects.

    interface ShortcutNodeRequest {
        headers: Record<string, string | string[] | undefined>;
        method?: string;
        "[asyncIterator]"(): AsyncIterator<string | Uint8Array<ArrayBufferLike>>;
        destroy(error?: Error): unknown;
    }
    Index

    Properties

    headers: Record<string, string | string[] | undefined>
    method?: string

    Methods

    • Returns AsyncIterator<string | Uint8Array<ArrayBufferLike>>