Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
listen
Function · 0.45
_applyMiddlewares
Method · 0.45
onRequest
Method · 0.45
onPollRequest
Method · 0.45
onDataRequest
Method · 0.45
onData
Method · 0.45
onEnd
Method · 0.45
respond
Method · 0.45
doWrite
Method · 0.45
engine.io.js
File · 0.45
middlewares.js
File · 0.45
server.js
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected