class APIResponse
implements IResponse
import { APIResponse } from "https://deno.land/x/aleph@v0.3.0-beta.3/server/response.ts";
Properties
headers: Headers
Methods
addHeader(key: string, value: string): this
json(data: any, space?: string | number): this
redirect(url: string, status?): this
removeHeader(key: string): this
setHeader(key: string, value: string): this
writeTo(unnamed 0: Deno.RequestEvent, status?: number): Promise<void>