Skip to main content
Module

x/dero/src/deps.ts

Fast web framework for Deno (support native HTTP/2 Hyper and std/http).
Latest
import * as dero from "https://deno.land/x/dero@1.2.4/src/deps.ts";

Functions

Given an extension or media type, return the full Content-Type header string. Returns undefined if not resolvable.

Read Reader r until EOF (null) and resolve to the content as Uint8Array`.

Create a Reader from a ReadableStreamDefaultReader.

Create a HTTP server

Create an HTTPS server with given options

Set the cookie header properly in the Response