Skip to main content
Module

std/ws/mod.ts>createSecKey

Deno standard library
Go to Latest
function createSecKey
import { createSecKey } from "https://deno.land/std@0.80.0/ws/mod.ts";

Returns base64 encoded 16 bytes string for Sec-WebSocket-Key header.

Returns

string