Skip to main content

How to Use WebSockets on Divio Cloud

Enable WebSockets in Your Application

Ensure your application is set up to handle WebSocket connections. This typically involves configuring your backend using libraries or frameworks such as:

Secure Your WebSocket Connection

For production environments, always use wss:// (WebSocket Secure) to ensure encrypted communication.

Deploy on Divio Cloud

Deploying your application to Divio Cloud is straightforward. Divio Cloud natively supports WebSocket connections.