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: ServerRequest): URL

Added in v1.0.0

htmlResponse

Signature

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

Added in v1.0.0

htmlResponseString

Signature

export declare function htmlResponseString(
  html: string,
  options?: HttpServer.response.Options
): HttpServer.response.ServerResponse

Added in v1.0.0