Skip to main content
Module

x/aleph/types.d.ts>APIContext

The Full-stack Framework in Deno.
Very Popular
Go to Latest
interface APIContext
implements [Deno.RequestEvent]
import { type APIContext } from "https://deno.land/x/aleph@v0.3.0-beta.7/types.d.ts";

An interface that aligns to the Deno.RequestEvent

Properties

readonly
data: Map<string, any>

The data handled by middlewares.

readonly
response: APIResponse

An interface that aligns to the parts of the Response with helper methods

readonly
router: RouterURL

The router by the api routing.