Module

std/ws/mod.ts>createSecAccept

Deno standard library
Go to Latest
function createSecAccept
Deprecated
Deprecated

use Deno.upgradeWebSocket Create value of Sec-WebSocket-Accept header from inputted nonce.

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

Parameters

nonce: string

Returns

string