Skip to main content
Module

x/dragon/lib/mod.ts

⚡Fast , simple expressive web framework for deno 🦕.
Latest
import * as dragon from "https://deno.land/x/dragon@v1.1.6/lib/mod.ts";

Classes

Defines the base HTTP error, which is handled by the default

HTTP messages consist of requests from a client to a server and responses. from a server to a client. This interface defines the methods common to each.

Representation of an outgoing, client-side request.

Representation of an outgoing, server-side response.

Enums

HTTP status codes

Common Media types

Request methods to indicate the desired action to be performed.

Variables

Register list of routes.

Routing Options.

Functions

Extract the entire body portion of an incoming request stream and exposes it on GetBody() method.

CORSMethodMiddleware automatically sets the Access-Control-Allow-Methods response header. on requests for routes that have an OPTIONS method matcher to all the method matchers on the route.

The X-XSS-Protection HTTP header aimed to offer a basic protection against cross-site scripting (XSS) attacks.

The X-XSS-Protection HTTP header aimed to offer a basic protection against cross-site scripting (XSS) attacks.