WebSocket
The WebSocket protocol provides a way to create web applications that support bidirectional communication, in real time, between the customer and the server.
Azion supports the WebSocket protocol, through the Application Acceleration product.
To use Webscoket support in a configuration:
- Go to the Content Delivery menu of Real-Time Manager.
- Edit the required Content Delivery configuration.
- In the Main Settings tab, start up Application Acceleration and save the setting.
- In the Rules Engine tab, create a new rule in Response Phase. Here’s an example.
Name: | WebSocket |
---|---|
Criteria: | if ${http_upgrade} is equal websocket and ${http_connection} is equal Upgrade |
Behavior: | then Bypass Cache Phase and Add Request Header Upgrade: websocket and Add Request Header Connection: Upgrade |
Didn’t find what you were looking for? Open a support ticket.