Skip to main content
Module

x/jito/router.d.ts>MiddlewareContext

Web component tools with Data Binding, Template Engine and Virtual Dom for ESM.
Go to Latest
interface MiddlewareContext
implements RouteContext
import { type MiddlewareContext } from "https://deno.land/x/jito@1.3.0/router.d.ts";

Properties

next: (props?: Record<string, unknown>, query?: Record<string, string>) => void
redirect: (
pathname: string,
props?: Record<string, unknown>,
query?: Record<string, string>,
) => void
branch: (
pathname: string,
props?: Record<string, unknown>,
query?: Record<string, string>,
) => void
block: (middleware?: Middleware) => void
through: () => void
call: (middleware: Middleware) => void