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

std/ws/mod.ts>createSecAccept

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

Create sec-websocket-accept header value with given nonce

Parameters

nonce: string

Returns

string