MCPcopy
hub / github.com/vitejs/vite / close

Method close

packages/vite/src/node/server/ws.ts:66–66  ·  view source on GitHub ↗

* Disconnect all clients and terminate the server.

()

Source from the content-addressed store, hash-verified

64 * Disconnect all clients and terminate the server.
65 */
66 close(): Promise<void>
67
68 [isWebSocketServer]: true
69 /**

Callers 2

handleUpgradeFunction · 0.65
closeFunction · 0.65

Implementers 2

BundledDevpackages/vite/src/node/server/bundledD
DevEnvironmentpackages/vite/src/node/server/environm

Calls

no outgoing calls

Tested by

no test coverage detected