Manage WebSocket Connections

The Manage WebSocket Connections task configures the gateway to communicate with WebSocket clients and servers for both inbound and outbound messages. WebSocket technology provides bi-directional, full-duplex communications channels over a single TCP connection and reduces the time spent establishing connections for each request.
gateway92
The 
Manage WebSocket Connections 
task configures the 
CA API Gateway
to communicate with WebSocket clients and servers for both inbound and outbound messages. WebSocket technology provides bi-directional, full-duplex communications channels over a single TCP connection and reduces the time spent establishing connections for each request.
For greater flexibility, you can specify a policy that executes upon the initial connection to the Gateway, when messages are received by the client, and/or when messages are received by the back-end server. These are known as the Connection Policy, Inbound Policy, and Outbound Policy, respectively. If you intend to specify such policies, ensure they have been published ahead of time using the Publish Web API task.
The Manage WebSocket Connections tasks supports WebSocket compression and will use it if the client or server also supports compression.
The Gateway currently does not support adding or removing headers in a WebSocket connection using Manage Transport Properties/Headers Assertion.
To configure WebSocket connections:
  1. In the Policy Manager, select
    Tasks >
    Extensions and Add-Ons > Manage WebSocket Connections
    .
  2. Double-click an existing connection to edit the WebSocket Connection Properties, or click 
    Create 
    to add a new connection.