Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/lavadeno/deps.ts>pogsockets.acceptable

lavadeno is a simple, easy-to-use, and flexible lavalink client built on the Deno Runtime.
Latest
function pogsockets.acceptable
import { pogsockets } from "https://deno.land/x/lavadeno@3.3.0/deps.ts";
const { acceptable } = pogsockets;

Returns true if input headers are usable for WebSocket, otherwise false.

Parameters

req: { headers: Headers; }

Returns

boolean