Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class ClientResponse
implements TypedResponse<S, M, D, H>
import { ClientResponse } from "https://deno.land/x/openbox@1.2.10/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