interface BunSocketData
Since 0.2.0

The per-socket data Bun carries from server.upgrade() through to every socket handler.

Properties

readonly
sink: WebSocketEventSink

The sink this socket's events are routed to.

Usage

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