For performance reasons all HTTP, JSON, TextBuilder, and XML types are reference types, not value types. Reference types holds a pointer to the data elsewhere in memory, whereas value types store its own data.
The following methods are available on the HttpClient class.
|Clear||Sets the HttpClient variable to the default value.|
|DefaultRequestHeaders||Gets the default request headers which should be sent with each request.|
|Delete||Sends a DELETE request to delete the resource identified by the request URL.|
|Get||Sends a GET request to get the resource identified by the request URL.|
|GetBaseAddress||Gets the base address of URI of the internet resource used when sending requests.|
|Post||Sends a POST request to the specified URI as an asynchronous operation.|
|Put||Sends a PUT request to the specified URI as an asynchronous operation.|
|Send||Sends an HTTP request as an asynchronous operation.|
|SetBaseAddress||Sets the base address of URI of the internet resource used when sending requests.|
|Timeout||Gets or sets the duration in seconds to wait before the request times out.|
|AddCertificate||Adds a certificate to the HttpClient class.|