Jaymon / endpoints

Lightweight REST api backend framework that automatically maps urls to python modules and classes
MIT License
29 stars 10 forks source link

Provide a way for the server to close the websocket connection #105

Closed Jaymon closed 4 years ago

Jaymon commented 4 years ago

in endpoints.uwsgi.async.WebsocketApplication.handle_websocket_response there should be a catch block that catches a CloseConnection() exception or something like that so the server can close the connection.