Could you use a worker to be a websocket

Could you use a worker to be a websocket client? Like say I make a request to wake up a worker, then that worker then connects to a websocket server and waits for messages, then when new messages come in it processes them (or a durable object doesn't really matter)
3 Replies
DanTheGoodman
DanTheGoodmanOP3y ago
I guess probably a durable object so I can tell it to disconnect when I want, but still
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
DanTheGoodman
DanTheGoodmanOP3y ago
Just seeing this, thanks!
Want results from more Discord servers?
Add your server