Function
layerProtocolWebsocketRouter
(options: {
readonly path: HttpLayerRouter.PathInput
})
Source from the content-addressed store, hash-verified
| 939 | * @category protocol |
| 940 | */ |
| 941 | export const layerProtocolWebsocketRouter = (options: { |
| 942 | readonly path: HttpLayerRouter.PathInput |
| 943 | }): Layer.Layer<Protocol, never, RpcSerialization.RpcSerialization | HttpLayerRouter.HttpRouter> => |
| 944 | Layer.effect(Protocol, makeProtocolWebsocketRouter(options)) |
| 945 | |
| 946 | /** |
| 947 | * @since 1.0.0 |
Tested by
no test coverage detected