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

Function layerProtocolWebsocketRouter

packages/rpc/src/RpcServer.ts:936–939  ·  view source on GitHub ↗
(options: {
  readonly path: HttpLayerRouter.PathInput
})

Source from the content-addressed store, hash-verified

934 * @category protocol
935 */
936export const layerProtocolWebsocketRouter = (options: {
937 readonly path: HttpLayerRouter.PathInput
938}): Layer.Layer<Protocol, never, RpcSerialization.RpcSerialization | HttpLayerRouter.HttpRouter> =>
939 Layer.effect(Protocol, makeProtocolWebsocketRouter(options))
940
941/**
942 * @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…