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

Function layerProtocolHttpRouter

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

Source from the content-addressed store, hash-verified

1221 * @category protocol
1222 */
1223export const layerProtocolHttpRouter = (options: {
1224 readonly path: HttpRouter.PathInput
1225}): Layer.Layer<Protocol, never, RpcSerialization.RpcSerialization | HttpLayerRouter.HttpRouter> =>
1226 Layer.effect(Protocol, makeProtocolHttpRouter(options))
1227
1228/**
1229 * @since 1.0.0

Callers 1

layerHttpRouterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected