HttpServerRespondable overview
Added in v1.0.0
Table of contents
accessors
toResponse
Signature
export declare const toResponse: (self: Respondable) => Effect.Effect<HttpServerResponse>
Added in v1.0.0
toResponseOrElse
Signature
export declare const toResponseOrElse: (u: unknown, orElse: HttpServerResponse) => Effect.Effect<HttpServerResponse>
Added in v1.0.0
guards
isRespondable
Signature
export declare const isRespondable: (u: unknown) => u is Respondable
Added in v1.0.0
models
Respondable (interface)
Signature
export interface Respondable {
readonly [symbol]: () => Effect.Effect<HttpServerResponse, unknown>
}
Added in v1.0.0
symbols
symbol
Signature
export declare const symbol: typeof symbol
Added in v1.0.0