Microsoft.Rest.ServiceClient<T>
ServiceClient is the abstraction for accessing REST operations and their payload data types..
Reference to the first HTTP handler (which is the start of send HTTP
pipeline).
Gets the HttpClient used for making HTTP requests.
Reference to the innermost HTTP handler (which is the end of send HTTP
pipeline).
Get the HTTP pipelines for the given service client.
Gets the UserAgent collection which can be augmented with custom
user agent strings.
protected ServiceClient()
Initializes a new instance of the ServiceClient class.
Initializes a new instance of the ServiceClient class.
Initializes a new instance of the ServiceClient class.
Initializes ServiceClient using base HttpClientHandler and list of handlers.
Create a new instance of the root handler.
protected virtual DelegatingHandler CreateHttpHandlerPipeline(HttpClientHandler httpClientHandler, DelegatingHandler[] handlers)
Creates DelegatingHandler pipeline chain that will be used for further communication. The handlers are invoked in a top-down fashion. That is, the first entry is invoked first for
an outbound request message but last for an inbound response message.
Dispose the ServiceClient.
Dispose the HttpClient and Handlers.
protected void InitializeHttpClient(HttpClientHandler httpClientHandler, DelegatingHandler[] handlers)
Initializes HttpClient using HttpClientHandler.
protected void InitializeHttpClient(HttpClient httpClient, HttpClientHandler httpClientHandler, DelegatingHandler[] handlers)
Initialize service client with provided HttpClient
Sets retry policy for the client.
Sets the product name to be used in the user agent header when making requests
Sets the product name and version to be used in the user agent header when making requests