Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/mod.ts>Handler

Ultrafast web framework for Cloudflare Workers, Deno, and Bun. Fast, but not only fast.
Extremely Popular
Go to Latest
interface Handler
import { type Handler } from "https://deno.land/x/hono@v2.5.5/mod.ts";

Type Parameters

optional
P extends string | Partial<Environment> | Schema = string
optional
E = Partial<Environment> | Partial<Schema>
optional
S = Partial<Schema>

Call Signatures

(c: Context<P extends string ? P : P extends Partial<Environment> ? string : P extends Partial<Schema> ? string : never, P extends Partial<Environment> ? P : P extends Partial<Schema> ? Partial<Environment> : E extends Partial<Environment> ? E extends Partial<Schema> ? Environment : E : E extends Partial<Schema> ? Partial<Environment> : Environment, S extends Schema ? S : P extends Schema ? P : E extends Schema ? E : any>, next: Next): Response | Promise<Response | undefined | void>