[As of v2.2 – Beta]

Tyk supports transparent websocket proxying, this means that websocket connections can be secured using the same mechanisms that are used for other APIs managed by tyk and SLA mechanisms such as the Circuit Breaker, Load Balancer and Service Discovery mechanisms can be used to ensure uptime.

The websocket proxy feature, once enabled, will work by default and completely transparently, proxying the request to the host set in the target URL.

Websockets supports WSS and HTTPS endpoints, so you can secure the connection end to end.

To enable websockets on your gateway, set the http_server_options.enable_websockets parameter in your tyk.conf to true.

Was this article helpful to you? Yes No