Package: @effect/rpc
Module: RpcServer
A rpc protocol that uses websockets for communication.
Uses a HttpLayerRouter to provide the websocket endpoint.
Signature
declare const layerProtocolWebsocketRouter: (options: { readonly path: HttpLayerRouter.PathInput; }) => Layer.Layer<Protocol, never, RpcSerialization.RpcSerialization | HttpLayerRouter.HttpRouter>
Since v1.0.0