Skip to main content
Module

x/dragon/deps.ts

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

Functions

Make an assertion, if not true, then throw.

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Make an assertion that actual match RegExp expected. If not then thrown

Make an assertion that actual and expected are not equal, deeply. If not then throw.

Executes a function, expecting it to throw. If it does not, then it throws. An error class and a string that should be included in the error message can also be asserted.

Create a HTTP server

Parse the cookies of the Server Request

Create an HTTPS server with given options

Interfaces

Interface of HTTP server response. If body is a Reader, response would be chunked. If body is a string, it would be UTF-8 encoded by default.