MCPcopy Create free account
hub / github.com/honojs/node-server / addResponseHeaders

Function addResponseHeaders

src/websocket.ts:188–190  ·  view source on GitHub ↗
(headers: string[])

Source from the content-addressed store, hash-verified

186 }
187
188 const addResponseHeaders = (headers: string[]) => {
189 appendResponseHeaders(headers, responseHeaders)
190 }
191
192 // `headers` is emitted synchronously inside `handleUpgrade`, so this
193 // listener cannot leak across concurrent upgrades on the shared `wss`.

Callers

nothing calls this directly

Calls 1

appendResponseHeadersFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…