MCPcopy Create free account
hub / github.com/Effect-TS/effect / checkContinueHandler

Function checkContinueHandler

packages/platform/node/src/NodeHttpServer.ts:300–303  ·  view source on GitHub ↗
(request: Http.IncomingMessage, response: Http.ServerResponse)

Source from the content-addressed store, hash-verified

298 upgradeHandler(request, socket, head)
299 }
300 const checkContinueHandler = (request: Http.IncomingMessage, response: Http.ServerResponse) => {
301 pendingContinue.add(request)
302 handler(request, response)
303 }
304 yield* Scope.addFinalizerExit(serveScope, () => {
305 upgradesClosed = true
306 for (const socket of upgradedSockets) {

Callers

nothing calls this directly

Calls 2

addMethod · 0.65
handlerFunction · 0.50

Tested by

no test coverage detected