import { Context } from "https://deno.land/x/composium@v0.1.0/mod.ts";
An instance of the extendable Context
is passed as only argument to your
Middleware
s. You can optionally extend the default Context
object or pass
a State
type.
export class Ctx extends Context<{ start: number }> {
pathname = this.url.pathname;
}