Function HTTPClientResponse.disconnect
Forcefully terminates the connection regardless of the current state.
Note that this will only actually disconnect
if the request has not yet
been fully processed. If the whole body was already read, the
connection is not owned by the current request operation anymore and
cannot be accessed. Use a "Connection: close" header instead in this
case to let the server close the connection.
Prototype
void disconnect();
Authors
Sönke Ludwig, Jan Krüger
Copyright
© 2012-2014 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.