Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

StaticHandler

A StaticHandler instance manages a singular SSR navigation/fetch event

interface StaticHandler {
query(request: Request, opts?: {
requestContext?: unknown;
}
): Promise<StaticHandlerContext | Response>;
queryRoute(request: Request, opts?: {
routeId?: string;
requestContext?: unknown;
}
): Promise<any>;
}

§Properties

§Methods

§
query(request: Request, opts?: {
requestContext?: unknown;
}
): Promise<StaticHandlerContext | Response>
[src]
§
queryRoute(request: Request, opts?: {
routeId?: string;
requestContext?: unknown;
}
): Promise<any>
[src]