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

Parameters

nonce: string

Returns

string