Function
layerProtocolWebsocket
(options: {
readonly path: HttpRouter.PathInput
})
Source from the content-addressed store, hash-verified
| 954 | * @since 4.0.0 |
| 955 | */ |
| 956 | export const layerProtocolWebsocket = (options: { |
| 957 | readonly path: HttpRouter.PathInput |
| 958 | }): Layer.Layer< |
| 959 | Protocol, |
| 960 | never, |
| 961 | RpcSerialization.RpcSerialization | HttpRouter.HttpRouter |
| 962 | > => { |
| 963 | return Layer.effect(Protocol)(makeProtocolWebsocket(options)) |
| 964 | } |
| 965 | |
| 966 | /** |
| 967 | * Creates an HTTP request/response server `Protocol` together with an HTTP |
Tested by
no test coverage detected