type alias ResponseSnapshotInit
Since 0.4.0

Native-response initialization data attached to a snapshot by the kernel when its headers have not needed a mutable Headers instance.

HTTP adapters consume this private-by-convention protocol before reading ResponseSnapshot.headers. The supplied input is snapshot-local so a native server may safely derive or add headers. Application and middleware code should continue to use snapshot.headers, which remains the documented live view.

Properties

Header input accepted directly by the web-standard Response constructor.

Usage

import { type ResponseSnapshotInit } from "common/src/index.ts";