Skip to main content
Go to Latest
class ClientResponse
implements TypedResponse<S, M, D, H>
import { ClientResponse } from "https://deno.land/x/openbox@1.2.7/mod.ts";

Constructors

new
ClientResponse(
status: S,
mediaType: M,
data: D,
response: Response,
headers: H,
)

Type Parameters

optional
S extends number = number
optional
M extends string = string
optional
D = unknown
optional
H = unknown

Properties

readonly
ok: boolean