ksysoev / wasabi

Toolkit for Creating WebSocket API Gateways
MIT License
4 stars 2 forks source link

Provide possibility to close WS connections #3

Closed ksysoev closed 2 months ago

ksysoev commented 2 months ago

to be able control WS connection from middleware and backend logic, it would be nice have possibility to close connection with different WS statues.

This feature will be useful for cases like, rate limit is reached and we want to drop connection for violating api policy.