WebSocket overview
WebSocket is a TCP-based protocol that establishes a persistent, bidirectional connection between client and server. Unlike HTTP, which opens a new connection for every request and closes it after the server responds, a WebSocket connection stays open until either party terminates it — allowing data to flow in both directions at any time.
Default behavior
By default:- WebSocket is enabled for CDN resources using DNS delegation.
- WebSocket is disabled for CNAME-based CDN resources.
Enable or disable WebSockets
- Navigate to CDN in the Gcore Customer Portal and click the custom domain of the target resource.

- In the Content section, find WebSockets and enable or disable the toggle.

- Click Save changes.