Method HttpClient():disconnect() Foundation
Cleans up resources and disconnects the socket.
:disconnect() --> self
:disconnect() returns the object executing the method.
The method :disconnect() cleans up all resources and disconnects the socket. It must be used with asynchronous data transfers with the method :sendAsync().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.