© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago
Amr Yasser

Durable object outgoing webSocket connection

Assuming a durable object (say object A) that handles received websocket connections using the hibernation API. If object A is to create a websocket connection to another service ( for simplicity consider the other service is another worker with a different durable object class (say B ) that also handles received WebSockets by the hibernation API), Will the socket connection between A and B prevent A from hibernating? if it will not prevent A from hibernating, what happens to the connection between A and B on hibernation?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Durable object websocket connections
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
Durable Object websocket 1006
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
websocket client in workers / durable object
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
15mo ago
How to maintain WebSocket client connections in Durable Object?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago