The per-socket data Bun carries from server.upgrade() through to every
socket handler.
readonly
sink: WebSocketEventSink
The sink this socket's events are routed to.
The per-socket data Bun carries from server.upgrade() through to every
socket handler.
sink: WebSocketEventSink
The sink this socket's events are routed to.
import { type BunSocketData } from "runtime/src/index.ts";