public cancel() as Void:
Requests cancellation of the HTTP call currently running for this client.
This method is cooperative at the API level and backed by native process cancellation for the default curl transport on POSIX platforms.
client = HttpClient() client.cancel()