Docsright arrowEdge Stackright arrowWebSocket connections

1 min • read

WebSocket connections

Ambassador Edge Stack makes it easy to access your services from outside your application, and this includes services that use WebSockets. Only a small amount of additional configuration is required, which is as simple as telling the Mapping to allow "upgrading" from the HTTP protocol to the "websocket" protocol:

Example WebSocket service

The example configuration below demonstrates the addition of the allow_upgrade: attribute to support websockets. The use of use_websocket is now deprecated.