HttpStatement
Prepared statement for a HTTP client request. This statement doesn't perform any network requests until execute method call. HttpStatement is safe to execute multiple times.
Example: Streaming data
Functions
Link copied to clipboard
Executes this statement and runs HttpClient.responsePipeline with the response and expected type T.
Executes this statement and runs the block with a HttpClient.responsePipeline execution result.
Link copied to clipboard
Executes this statement and download the response. After the method execution finishes, the client downloads the response body in memory and release the connection.
Executes this statement and calls the block with the streaming response.