http_server_options.enable_websockets
to true
in your Tyk Gateway config file.http_server_options.read_timeout
and http_server_options.write_timeout
to appropriately high values (in milliseconds). For example, you could try setting both to 2000
, but this is for you to determine in your environment.http_server_options.flush_interval
to an appropriate value, e.g. 1
, to force Tyk to stream the response to the client every n
seconds.8000
."listen_path": "/sse"
"strip_listen_path": true,
"target_url": "http://host.docker.internal:8000"