Skip to main content
Module

x/cav/endpoints.ts>SocketSchema

A server framework for Deno
Go to Latest
interface SocketSchema
implements Omit<EndpointSchema, "maxBodySize">
import { type SocketSchema } from "https://deno.land/x/cav@0.0.24/endpoints.ts";

Schema options for creating a socket() handler.

Properties

optional
send: any

The type of message this Socket expects to send to a connected client. The value of this property doesn't matter, it's only used for the type.