interface NodeIncomingMessage
Since 0.2.0

A Node IncomingMessage, narrowed to what building an upgrade Request needs.

Properties

readonly
optional
url: string | undefined

The request target (path plus query), as Node reports it.

readonly
optional
method: string | undefined

The HTTP method.

readonly
headers: Record<string, string | string[] | undefined>

Raw headers, as Node's lowercase-keyed object.

Usage

import { type NodeIncomingMessage } from "runtime/src/index.ts";