Cancels and closes an HTTP stream
This method cancels and closes the target httpstream object. An httpstream object can still be cancelled even if httpstream.closeasync() has already been called.
Any attempt to send data to a cancelled or closed stream, including one which has received an error from the server, will throw a Squirrel exception.
© 2011-2020 Electic Imp, Inc.