MCPcopy Index your code
hub / github.com/Effect-TS/effect / layerProtocolHttpRouter

Function layerProtocolHttpRouter

packages/rpc/src/RpcServer.ts:1218–1221  ·  view source on GitHub ↗
(options: {
  readonly path: HttpRouter.PathInput
})

Source from the content-addressed store, hash-verified

1216 * @category protocol
1217 */
1218export const layerProtocolHttpRouter = (options: {
1219 readonly path: HttpRouter.PathInput
1220}): Layer.Layer<Protocol, never, RpcSerialization.RpcSerialization | HttpLayerRouter.HttpRouter> =>
1221 Layer.effect(Protocol, makeProtocolHttpRouter(options))
1222
1223/**
1224 * @since 1.0.0

Callers 1

layerHttpRouterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…