Deprecated
use Deno.upgradeWebSocket Returns true if input headers are usable for WebSocket, otherwise false.
import { acceptable } from "https://deno.land/x/attain@1.1.2/deps.ts";
Parameters
req: { headers: Headers; }
use Deno.upgradeWebSocket Returns true if input headers are usable for WebSocket, otherwise false.
import { acceptable } from "https://deno.land/x/attain@1.1.2/deps.ts";