Function
layer
(
evaluate: LazyArg<Http.Server>,
options: Options
)
Source from the content-addressed store, hash-verified
| 444 | * @since 4.0.0 |
| 445 | */ |
| 446 | export const layer = ( |
| 447 | evaluate: LazyArg<Http.Server>, |
| 448 | options: Options |
| 449 | ): Layer.Layer< |
| 450 | HttpServer.HttpServer | NodeServices.NodeServices | HttpPlatform.HttpPlatform | Etag.Generator, |
| 451 | ServeError |
| 452 | > => |
| 453 | Layer.mergeAll( |
| 454 | layerServer(evaluate, options), |
| 455 | layerHttpServices |
| 456 | ) |
| 457 | |
| 458 | /** |
| 459 | * Provides a Node `HttpServer` together with the Node HTTP platform, ETag, |
Tested by
no test coverage detected