(options: {
readonly path: HttpRouter.PathInput
readonly streamBufferSize?: number | "unbounded" | undefined
})
| 1554 | * @since 4.0.0 |
| 1555 | */ |
| 1556 | export const layerProtocolHttp = (options: { |
| 1557 | readonly path: HttpRouter.PathInput |
| 1558 | readonly streamBufferSize?: number | "unbounded" | undefined |
| 1559 | }): Layer.Layer<Protocol, never, RpcSerialization.RpcSerialization | HttpRouter.HttpRouter> => { |
| 1560 | return Layer.effect(Protocol)(makeProtocolHttp(options)) |
| 1561 | } |
| 1562 | |
| 1563 | /** |
| 1564 | * Starts an RPC server for a group and returns the HTTP request/response effect |
no test coverage detected