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

x/abc/vendor/https/deno.land/std/ws/mod.ts>acceptable

A better Deno framework to create web application.
Go to Latest
function acceptable
import { acceptable } from "https://deno.land/x/abc@v1.0.3/vendor/https/deno.land/std/ws/mod.ts";

Return whether given headers is acceptable for websocket

Parameters

req: { headers: Headers; }

Returns

boolean