Method HttpClient():disconnect() Foundation

Cleans up resources and disconnects the socket.

Syntax
 
:disconnect() --> self
Return

:disconnect() returns the object executing the method.

Description

The method :disconnect() cleans up all resources and disconnects the socket. It must be used with asynchronous data transfers with the method :sendAsync().

Feedback

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.