Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/drash/src/modules/base/RequestChain.ts>Builder

A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.
Latest
class Builder
import { Builder } from "https://deno.land/x/drash@v3.0.0-beta.2/src/modules/base/RequestChain.ts";

Builder for building a chain of handlers.

Methods

resources(...resources: ResourceClasses[])

Add resources to this chain.

urlPatternClass(urlPatternClass: URLPatternClass): this

Set the handler that matches requests to resources.