(
options: Config.Wrap<
ServeOptions & {
readonly disablePreemptiveShutdown?: boolean | undefined
readonly gracefulShutdownTimeout?: Duration.Input | undefined
readonly websocket?: Deno.UpgradeWebSocketOptions | undefined
}
>
)
| 270 | * @since 4.0.0 |
| 271 | */ |
| 272 | export const layerConfig = ( |
| 273 | options: Config.Wrap< |
| 274 | ServeOptions & { |
| 275 | readonly disablePreemptiveShutdown?: boolean | undefined |
| 276 | readonly gracefulShutdownTimeout?: Duration.Input | undefined |
| 277 | readonly websocket?: Deno.UpgradeWebSocketOptions | undefined |
| 278 | } |
| 279 | > |
| 280 | ): Layer.Layer< |
| 281 | Server.HttpServer | HttpPlatform | FileSystem.FileSystem | Etag.Generator | Path.Path, |
| 282 | ConfigError |
| 283 | > => |
| 284 | Layer.mergeAll( |
| 285 | Layer.effect(Server.HttpServer)(Effect.flatMap(Config.unwrap(options), make)), |
| 286 | layerHttpServices |
| 287 | ) |
| 288 | |
| 289 | class DenoServerRequest extends Inspectable.Class implements ServerRequest.HttpServerRequest { |
| 290 | readonly [ServerRequest.TypeId]: typeof ServerRequest.TypeId |
nothing calls this directly
no outgoing calls
no test coverage detected