Skip to main content
Module

x/dropserver_app/approutes.ts>RouteType

Library that helps you create Dropserver applications
Latest
enum RouteType
import { RouteType } from "https://deno.land/x/dropserver_app@v0.2.1/approutes.ts";

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

Members

function = "function"

"function" means a sandbox will be started if necessary and function called to handle the request

static = "static"

"static" route types are handled entirely on the Dropserver host leaving the sandbox off and saving resources.