Ratelimit for websocket connection

How can I rate-limit the websocket connections throughput.
In my application, kong does not log the request till the websocket client closes the connection. But i want to limit the max data exchanged and maximum time for which the connection can be open, through Kong.
How can I achieve this.
I am using kong 0.14

This is not possible to do.
Kong is not aware of websocket messages that are flowing through an HTTP stream.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ