I keep the connection open by holding the request on the server and not releasing it until something happens or the 30 seconds passes. However when I suddenly log out or an exception occurs I need something that will close the connection and cancel any outstanding requests. Does this function exist?
I keep the connection open by holding the request on the server and not releasing it until something happens or the 30 seconds passes. However when I suddenly log out or an exception occurs I need something that will close the connection and cancel any outstanding requests. Does this function exist?