Skip to content

WebSocket Protocol Configuration

Configuration Scenario

WebSocket is a full-duplex communication network technology between browsers and servers introduced in HTML5. The WebSocket communication protocol was standardized as RFC 6455 by IETF in 2011, and the WebSocket API was standardized by W3C.

In the WebSocket API, the browser and server only need to perform a handshake action to establish a fast channel between them. Once established, data can be transmitted directly in both directions.

Configuration Guide

View Configuration

Log in to Cloud Protection, select [Domain Management] from the menu bar, click [Manage] on the right side of the domain name to enter the domain configuration page. Under [Advanced Configuration], you can see the WebSocket Protocol Configuration, which is disabled by default:

img

Enable WebSocket

Click the switch next to WebSocket to enable WebSocket compression, as shown:

img

Disable WebSocket

Click the switch next to WebSocket to disable WebSocket compression, as shown:

img