Tyk v2.2 Documentation Components

HomeTyk v2.2 Documentation ComponentsEnable websockets

Enable websockets

As of Tyk gateway v2.2, Tyk supports transparent websocket connection upgrades, to enable this feature, ensure that the enable_websockets value is set to true in your tyk.conf file.

Websocket proxying is transparent, Tyk will not modify the frames that are sent between client and host, and rate limits are on a per-connection, not per-frame basis.

The websocket upgrade is the last middleware to fire in a Tyk request cycle, and so can make use of HA capabilities such as circuit breakers and enforced timeouts.

Was this article helpful to you? Yes No