Skip to main content
Module

x/pogo/dependencies.ts

Server framework for Deno
Go to Latest
import * as mod from "https://deno.land/x/pogo@v0.5.2/dependencies.ts";

Enums

HTTP status codes

Functions

Set the cookie header properly in the Response to delete it

Parse the cookies of the Server Request

Set the cookie header properly in the Response

Parse addr from string

Start an HTTP server with given options and request handler

Start an HTTPS server with given options and request handler

Create a HTTP server

Create an HTTPS server with given options

Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator.

Convert a glob string to a regular expression.

Test whether the given string is a glob

Like join(), but doesn't collapse "**/.." when globstar is true.

Like normalize(), but doesn't collapse "**/.." when globstar is true.

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.

A parsed path object generated by path.parse() or consumed by path.format().

Type Aliases

Options for creating an HTTP server.

Options for creating an HTTPS server.