(
options: {
readonly serve: (
httpEffect: Effect.Effect<HttpServerResponse, unknown, HttpServerRequest | Scope.Scope>,
middleware?: Middleware.HttpMiddleware
) => Effect.Effect<void, never, Scope.Scope>
readonly address: Address
}
)
| 98 | * @since 4.0.0 |
| 99 | */ |
| 100 | export const make = ( |
| 101 | options: { |
| 102 | readonly serve: ( |
| 103 | httpEffect: Effect.Effect<HttpServerResponse, unknown, HttpServerRequest | Scope.Scope>, |
| 104 | middleware?: Middleware.HttpMiddleware |
| 105 | ) => Effect.Effect<void, never, Scope.Scope> |
| 106 | readonly address: Address |
| 107 | } |
| 108 | ): HttpServer["Service"] => options |
| 109 | |
| 110 | /** |
| 111 | * Creates a layer that starts serving an HTTP response effect with the current |
nothing calls this directly
no outgoing calls
no test coverage detected