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

x/xserver/src/mod.ts>Plugin.default

X-Server a Deno server module with middleware
Go to Latest
class Plugin.default
Abstract
import { Plugin } from "https://deno.land/x/xserver@1.2.0/src/mod.ts";
const { default } = Plugin;

Properties

readonly
any
readonly
connect
readonly
data: Record<string, Map<string, Data>>
readonly
delete
readonly
get
readonly
head
readonly
options
readonly
patch
readonly
post
readonly
put
readonly
trace

Methods

abstract
handle(context: Context, data?: Data): Promise<Response | void> | Response | void