Module

x/drash/src/standard/handlers/Handler.ts>Handler

A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.
Latest
class Handler
implements IHandler
import { Handler } from "https://dotland.deno.dev/x/drash@v3.0.0-beta.2/src/standard/handlers/Handler.ts";

A class to be extended by handlers so they can share the same interface.

Properties

protected
next: Handler | null

Handlers can be chained together using this property. See example.

Methods

handle<Output>(input: any): Promise<Output>
sendToNextHandler<Output>(input: any): Promise<Output>