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

File HttpMiddleware.ts

packages/effect/src/http/HttpMiddleware.ts  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Wraps HTTP server apps with request and response behavior.
3 *
4 * A middleware is a function from one HTTP server app effect to another. The app

Callers

nothing calls this directly

Calls 15

causeResponseStrippedFunction · 0.90
isTracerDisabledUnsafeFunction · 0.85
responseSpanExitFunction · 0.85
withStateNamesFunction · 0.85
exitMethod · 0.80
getRefMethod · 0.80
makeFunction · 0.70
hasMethod · 0.65
logMethod · 0.65
setContextMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected