Module

std/ws/mod.ts>createSecKey

Deno standard library
Go to Latest
function createSecKey
Deprecated
Deprecated

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

import { createSecKey } from "https://dotland.deno.dev/std@0.116.0/ws/mod.ts";

Returns

string