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

x/dropserver_app/approutes.ts

Library that helps you create Dropserver applications
Latest
import * as dropserverApp from "https://deno.land/x/dropserver_app@v0.2.2/approutes.ts";

Classes

RoutesBuilder is a convenience class that helps you create application routes for the createApp function using a a familiar pattern.

Enums

Authorization categories

RouteType indicates whether the handler runs in sandbox or is a static file serve, which is handled by Dropserver.

Interfaces

Context is passed to app's request handlers.

Type Aliases

Auth object describes the authorization requirements to access the route.

HTTP request handler function

Describes the path that the request must match to execute this route

Options to pass to the static file handler