Skip to main content
import * as mod from "https://deno.land/x/sono@v1.1/deps.ts";

Functions

Upgrade inputted TCP connection into WebSocket connection.

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

Create a HTTP server

Returns an HTTP Response with the requested file as the body

Create an HTTPS server with given options

Type Aliases

Options for creating an HTTP server.

Options for creating an HTTPS server.