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

std/ws/mod.ts>createSecKey

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function createSecKey
import { createSecKey } from "https://deno.land/std@0.65.0/ws/mod.ts";

Create WebSocket-Sec-Key. Base64 encoded 16 bytes string

Returns

string