MCPcopy
hub / github.com/socketio/socket.io / writeHead

Method writeHead

packages/engine.io/lib/userver.ts:306–308  ·  packages/engine.io/lib/userver.ts::ResponseWrapper.writeHead
(status: number)

Source from the content-addressed store, hash-verified

304 }
305
306 public writeHead(status: number) {
307 this.statusCode = status;
308 }
309
310 public setHeader(key, value) {
311 if (Array.isArray(value)) {

Callers 15

listenFunction · 0.45
_applyMiddlewaresMethod · 0.45
onRequestMethod · 0.45
onPollRequestMethod · 0.45
onDataRequestMethod · 0.45
onDataMethod · 0.45
onEndMethod · 0.45
respondMethod · 0.45
doWriteMethod · 0.45
engine.io.jsFile · 0.45
middlewares.jsFile · 0.45
server.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected