Class UOLHttpClient
Represents an HttpClient class that automatically sets the TLS version and restores it on disposing.
Inheritance
System.Object
System.Net.Http.HttpMessageInvoker
System.Net.Http.HttpClient
UOLHttpClient
Implements
System.IDisposable
Inherited Members
System.Net.Http.HttpClient.CancelPendingRequests()
System.Net.Http.HttpClient.DeleteAsync(System.String)
System.Net.Http.HttpClient.DeleteAsync(System.String, System.Threading.CancellationToken)
System.Net.Http.HttpClient.DeleteAsync(System.Uri)
System.Net.Http.HttpClient.DeleteAsync(System.Uri, System.Threading.CancellationToken)
System.Net.Http.HttpClient.GetAsync(System.String)
System.Net.Http.HttpClient.GetAsync(System.String, System.Net.Http.HttpCompletionOption)
System.Net.Http.HttpClient.GetAsync(System.String, System.Net.Http.HttpCompletionOption, System.Threading.CancellationToken)
System.Net.Http.HttpClient.GetAsync(System.String, System.Threading.CancellationToken)
System.Net.Http.HttpClient.GetAsync(System.Uri)
System.Net.Http.HttpClient.GetAsync(System.Uri, System.Net.Http.HttpCompletionOption)
System.Net.Http.HttpClient.GetAsync(System.Uri, System.Net.Http.HttpCompletionOption, System.Threading.CancellationToken)
System.Net.Http.HttpClient.GetAsync(System.Uri, System.Threading.CancellationToken)
System.Net.Http.HttpClient.GetByteArrayAsync(System.String)
System.Net.Http.HttpClient.GetByteArrayAsync(System.Uri)
System.Net.Http.HttpClient.GetStreamAsync(System.String)
System.Net.Http.HttpClient.GetStreamAsync(System.Uri)
System.Net.Http.HttpClient.GetStringAsync(System.String)
System.Net.Http.HttpClient.GetStringAsync(System.Uri)
System.Net.Http.HttpClient.PostAsync(System.String, System.Net.Http.HttpContent)
System.Net.Http.HttpClient.PostAsync(System.String, System.Net.Http.HttpContent, System.Threading.CancellationToken)
System.Net.Http.HttpClient.PostAsync(System.Uri, System.Net.Http.HttpContent)
System.Net.Http.HttpClient.PostAsync(System.Uri, System.Net.Http.HttpContent, System.Threading.CancellationToken)
System.Net.Http.HttpClient.PutAsync(System.String, System.Net.Http.HttpContent)
System.Net.Http.HttpClient.PutAsync(System.String, System.Net.Http.HttpContent, System.Threading.CancellationToken)
System.Net.Http.HttpClient.PutAsync(System.Uri, System.Net.Http.HttpContent)
System.Net.Http.HttpClient.PutAsync(System.Uri, System.Net.Http.HttpContent, System.Threading.CancellationToken)
System.Net.Http.HttpClient.SendAsync(System.Net.Http.HttpRequestMessage)
System.Net.Http.HttpClient.SendAsync(System.Net.Http.HttpRequestMessage, System.Net.Http.HttpCompletionOption)
System.Net.Http.HttpClient.SendAsync(System.Net.Http.HttpRequestMessage, System.Net.Http.HttpCompletionOption, System.Threading.CancellationToken)
System.Net.Http.HttpClient.SendAsync(System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken)
System.Net.Http.HttpClient.BaseAddress
System.Net.Http.HttpClient.DefaultRequestHeaders
System.Net.Http.HttpClient.MaxResponseContentBufferSize
System.Net.Http.HttpClient.Timeout
System.Net.Http.HttpMessageInvoker.Dispose()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: UOL.SDK
Assembly: UOL.SDK.dll
Syntax
public class UOLHttpClient : HttpClient, IDisposable
Constructors
UOLHttpClient()
Initializes a new instance of the UOLHttpClient class.
Declaration
public UOLHttpClient()
Methods
Dispose(Boolean)
Releases the unmanaged resources used by the System.Net.Http.HttpClient and optionally disposes of the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true to release both managed and unmanaged resources; false to releases only unmanaged resources. |
Overrides
System.Net.Http.HttpClient.Dispose(System.Boolean)
Implements
System.IDisposable