ws

hello how do i enable websocket for worker? i have this "const WebSocket = require('ws');" and it says cannot find module, when i try to import it its the same
1 Reply
Alisson Acioli
Alisson Acioliโ€ข10mo ago
Cloudflare Docs
Using the WebSockets API ยท Cloudflare Workers docs
WebSockets allow you to communicate in real time with your Cloudflare Workers serverless functions. In this guide, you will learn the basics of โ€ฆ
Want results from more Discord servers?
Add your server