Package: @effect/platform-node
Module: NodeHttpServer
Provides a Node HttpServer together with the Node HTTP platform, ETag, and
core platform services required to serve requests.
Signature
declare const layer: (evaluate: LazyArg<Http.Server>, options: Net.ListenOptions & { readonly disablePreemptiveShutdown?: boolean | undefined; readonly gracefulShutdownTimeout?: Duration.Input | undefined; }) => Layer.Layer<HttpServer.HttpServer | NodeServices.NodeServices | HttpPlatform.HttpPlatform | Etag.Generator, ServeError>
Since v4.0.0