Register websocket API on TYK on-premise

Hi all,

We are currently using TYK on-premise Gateway v2.0 as the REST API gateway of multiple internal services to external network. Where do we find the option to register internal websockets (ws://) into TYK Gateway?

We have enabled ‘enable_websocket’ option in ‘http_server_options’. We are using both TYK dashboard v1.2.0.0 and TYK advance API to add API definition to TYK.

Thank you for your help!

Hi,

If you have enabled websockets in tyk, then if Tyk detects a websocket request it will just proxy it and maintain the connection. You do not need to register anything, just enable and go.

M.

Hi Martin!

It is actually just as easy as you described, how wonderful! Thank you very much.

1 Like