Skip to main content
Module

x/cav/mod.ts>SocketRequest

A server framework for Deno
Go to Latest
interface SocketRequest
implements Request
Re-export
import { type SocketRequest } from "https://deno.land/x/cav@0.0.24/mod.ts";

A server socket handler can use this Request type to ferry type information to the client about the valid socket send/receive message types and acceptable query string parameters for the initial request.

Type Parameters

Query
Send
Receive

Properties

optional
[_cav]: { socketEndpointRequest: { query: Query; send: Send; receive: Receive; }; }