Skip to main content
Module

x/railgun/deps.ts

🦕 deno web framework
Latest
import * as railgun from "https://deno.land/x/railgun@v0.6.2/deps.ts";

Variables

Contains the STATUS_CODE object which contains standard HTTP status codes and provides several type guards for handling status codes with type safety.

A record of all the status codes text.

Functions

Given an extension or media type, return a full Content-Type or Content-Disposition header value.

Set the cookie header with empty value in the headers to delete it

Parse cookies of a header

Parse set-cookies of a header

Set the cookie header properly in the headers

Interfaces

Represents an HTTP Cookie.

Type Aliases

An HTTP status code.

An HTTP status text.