Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/websocket_server/mod.ts

A WebSocket server library for Deno ๐Ÿ”Œ
Go to Latest
import * as websocketServer from "https://deno.land/x/websocket_server@1.0.2/mod.ts";

Functions

Returns true if input value is a WebSocketCloseEvent, false otherwise.

Returns true if input value is a WebSocketPingEvent, false otherwise.

Returns true if input value is a WebSocketPongEvent, false otherwise.

Start an WebSocket server with given options and event handler

Start a WebSocket server with given options and event handler

Create a WebSocket server with given options

Create a secure WebSocket server (WSS) with given options