effect-io-ai

Package: @effect/platform-node
Module: NodeHttpServerRequest

NodeHttpServerRequest.toServerResponse

Returns the underlying Node ServerResponse for a platform Node HttpServerRequest, evaluating the stored response thunk when the response was created lazily.

Signature

declare const toServerResponse: (self: HttpServerRequest) => Http.ServerResponse

Source

Since v4.0.0