MCPcopy Create free account
hub / github.com/effect-app/libs / HttpMiddleware.ts

File HttpMiddleware.ts

repos/effect/packages/effect/src/unstable/http/HttpMiddleware.ts:None–None  ·  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
stripSearchAndHashFunction · 0.85
getUnsafeMethod · 0.80
getRefMethod · 0.80
makeFunction · 0.70
logMethod · 0.65
setContextMethod · 0.65
addMethod · 0.65
scheduleTaskMethod · 0.65
attributeMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected