MCPcopy Create free account
hub / github.com/honojs/node-server / CloseEventInit

Interface CloseEventInit

src/websocket.ts:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import type { WebSocketData, WebSocketLike, WebSocketServerLike } from './websocket-types'
8
9interface CloseEventInit extends EventInit {
10 code?: number
11 reason?: string
12 wasClean?: boolean
13}
14
15/**
16 * @link https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…