Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nodejs/undici
/ close
Method
close
types/websocket.d.ts:39–39 ·
view source on GitHub ↗
(code?: number, reason?: string)
Source
from the content-addressed store, hash-verified
37
readonly url: string
38
39
close(code?: number, reason?: string): void
40
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void
41
42
readonly CLOSED: number
Callers
15
run
Function · 0.95
close
Method · 0.65
close
Method · 0.65
[kClose]
Method · 0.65
[kClose]
Method · 0.65
[kClose]
Method · 0.65
close
Method · 0.65
[kOnDrain]
Method · 0.65
[kClose]
Method · 0.65
[kRemoveClient]
Method · 0.65
[kClose]
Method · 0.65
closeStream
Function · 0.65
Calls
no outgoing calls
Tested by
1
close
Method · 0.52