MCPcopy Index your code
hub / github.com/nodejs/node / close

Method close

deps/undici/src/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

testFunction · 0.95
configure_intlFunction · 0.65
get_moduleFunction · 0.65
ExecuteFunction · 0.65
checkFilesFunction · 0.65
pseudo-tty.pyFile · 0.65
mainFunction · 0.65
get_sourceMethod · 0.65
write_fileMethod · 0.65
compile_templatesMethod · 0.65
dumpMethod · 0.65

Calls

no outgoing calls

Tested by 15

testFunction · 0.76
get_moduleFunction · 0.52
ExecuteFunction · 0.52
captured_outputFunction · 0.52
RunCommandMethod · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52