(options: {
readonly path: HttpRouter.PathInput
})
| 201 | * @since 4.0.0 |
| 202 | */ |
| 203 | export const layerHttpOptions = (options: { |
| 204 | readonly path: HttpRouter.PathInput |
| 205 | }): Layer.Layer< |
| 206 | Sharding.Sharding | Runners.Runners, |
| 207 | never, |
| 208 | | RunnerStorage |
| 209 | | RunnerHealth |
| 210 | | RpcSerialization.RpcSerialization |
| 211 | | MessageStorage |
| 212 | | ShardingConfig.ShardingConfig |
| 213 | | Runners.RpcClientProtocol |
| 214 | | HttpRouter.HttpRouter |
| 215 | > => |
| 216 | RunnerServer.layerWithClients.pipe( |
| 217 | Layer.provide(RpcServer.layerProtocolHttp(options)) |
| 218 | ) |
| 219 | |
| 220 | /** |
| 221 | * Layer that adds WebSocket runner routes to the provided `HttpRouter`. |
no test coverage detected