Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback


A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
interface HandleMethod
import { type HandleMethod } from "";

Call Signatures

request: Request,
conn?: Deno.Conn,
secure?: boolean,
): Promise<Response | undefined>

Handle an individual server request, returning the server response. This is similar to .listen(), but opening the connection and retrieving requests are not the responsibility of the application. If the generated context gets set to not to respond, then the method resolves with undefined, otherwise it resolves with a DOM Response object.