Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cav/socket.ts

A server framework for Deno
Go to Latest
import * as cav from "https://deno.land/x/cav@0.2.3/socket.ts";

Functions

Constructs a new Socket request handler using the provided schema and setup function. The schema properties will be assigned to the returned socket endpoint function, with the setup argument available as the "setup" property.

Interfaces

Arguments available to the setup function of a socket endpoint.

Schema options for creating a socket() handler.

Type Aliases

Cav endpoint handler for connecting web sockets.