Closed mgandler closed 3 years ago
Hello @mgandler ,
An example of this is implemented in this example repo particularly this line
You have to call ConnectionProvider::invalidate(<conntection>)
. Make sure to call exactly the same provider which issued that connection.
Regards, Leonid
Hello @lganzzzo,
thank you for the quick response. I totally missed this function in the example.
BR Martin
Hi,
I am trying to solve the following scenario using oatpp-websocket:
Is there a way to tell the AsyncWebSocket::Listener to close its connection and onBeforeDestroy_NonBlocking is called so I can remove the connection from the managment class.
Thanks Martin