Skip to main content
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://deno.land/std@0.114.0/ws/mod.ts";

Returns

string