Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
websocket
/
deps.ts
>
on
🦕 A simple WebSocket library like ws of node.js library for deno
ryo-ma/deno-websocket
Version
Latest
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
Menu
example
lib
mod.ts
(default module)
c
StandardWebSocketClient
c
WebSocketAcceptedClient
c
WebSocketError
c
WebSocketServer
I
WebSocketClient
E
WebSocketState
deps.ts
c
EventEmitter
c
Server
c
ServerRequest
I
WebSocket
v
on
f
acceptWebSocket
f
assertEquals
f
assertNotEquals
f
assertThrowsAsync
f
isWebSocketCloseEvent
f
isWebSocketPingEvent
f
isWebSocketPongEvent
f
serve
variable
on
import
{ on }
from
"https://deno.land/x/websocket@v0.1.4/deps.ts"
;