import { Context } from "https://dotland.deno.dev/x/ultra@v2.1.5/server.ts";
Properties
Methods
private
_finalizeHeaders(incomingHeaders: Headers): HeaderField[]body(): Response
cookie(): void
name: string,
value: string,
opt?: CookieOptions,
get<Key extends keyof ContextVariableMap>(key: Key): ContextVariableMap[Key]
get<T>(key: string): T
header(): void
name: string,
value: string,
options?: { append?: boolean; },
html(): Response
json<T>(): Response
newResponse(): Response
notFound(): Response | Promise<Response>
pretty(prettyJSON: boolean, space?: number): void
redirect(location: string, status?: StatusCode): Response
set<Key extends keyof ContextVariableMap>(key: Key, value: ContextVariableMap[Key]): void
set(key: string, value: unknown): void
status(status: StatusCode): void
text(): Response