Skip to main content
Module

x/texa/src/deps.ts

A Deno web framework inspired by Oak and Express. Built-in support for WebSockets, middleware and routing.
Latest
import * as texa from "https://deno.land/x/texa@0.8.1/src/deps.ts";

Classes

A subscribable event.

An object that allows for adding and running middleware.

Enums

HTTP status codes

Functions

Upgrade inputted TCP connection into WebSocket connection.

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

Test whether or not the given path exists by checking with the file system

Returns true if input value is a WebSocketCloseEvent, false otherwise.

Returns true if input value is a WebSocketPingEvent, false otherwise.

Returns true if input value is a WebSocketPongEvent, false otherwise.

Create path match function from path-to-regexp spec.

Create a HTTP server

Create an HTTPS server with given options

Type Aliases

Diagnostics information returned by a middleware object.

The match function takes a string and returns whether it matched the path.