Skip to main content Link Search Menu Expand Document (external link)

Platform overview

Added in v1.0.0


Table of contents


utils

getUrlFromServerRequest

Signature

export declare function getUrlFromServerRequest(request: HttpServerRequest.HttpServerRequest): URL

Added in v1.0.0

htmlResponse

Signature

export declare function htmlResponse<E, R>(
  fx: Fx.Fx<RenderEvent | null, E, R>,
  options?: HttpServerResponse.Options
): Effect.Effect<HttpServerResponse.HttpServerResponse, E, R>

Added in v1.0.0

htmlResponseString

Signature

export declare function htmlResponseString(
  html: string,
  options?: HttpServerResponse.Options
): HttpServerResponse.HttpServerResponse

Added in v1.0.0