Skip to main content
Module

x/aleph/server/types.ts>Context

The Full-stack Framework in Deno.
Go to Latest
interface Context
implements Record<string, unknown>
import { type Context } from "https://deno.land/x/aleph@1.0.0-beta.1/server/types.ts";

Properties

readonly
optional
connInfo: ConnInfo
readonly
params: Record<string, string>
readonly
headers: Headers
readonly
cookies: Cookies
readonly
htmlRewriter: HTMLRewriter

Methods

getSession<T extends Record<string, unknown> = Record<string, unknown>>(): Promise<Session<T>>