MCPcopy
hub / github.com/Effect-TS/effect / middleware

Method middleware

packages/platform/src/HttpApi.ts:92–92  ·  view source on GitHub ↗

* Add a middleware to a `HttpApi`. It will be applied to all endpoints in the * `HttpApi`.

(
    middleware: Context.Tag<I, S>
  )

Source from the content-addressed store, hash-verified

90 * `HttpApi`.
91 */
92 middleware<I extends HttpApiMiddleware.HttpApiMiddleware.AnyId, S>(
93 middleware: Context.Tag<I, S>
94 ): HttpApi<
95 Id,

Callers 6

rpc-schemas.tsFile · 0.65
UsersApiClass · 0.65
rpc-schemas.tsFile · 0.65
UsersApiClass · 0.65
OpenApi.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected