HttpClientHelperFactory.CreateHttpClientHelper Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateHttpClientHelper(SubscriptionCloudCredentials, IEnumerable<ProductInfoHeaderValue>, Dictionary<String,String>)
public virtual Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.HttpClientHelper CreateHttpClientHelper (Microsoft.Azure.SubscriptionCloudCredentials credentials, System.Collections.Generic.IEnumerable<System.Net.Http.Headers.ProductInfoHeaderValue> headerValues, System.Collections.Generic.Dictionary<string,string> cmdletHeaderValues);
abstract member CreateHttpClientHelper : Microsoft.Azure.SubscriptionCloudCredentials * seq<System.Net.Http.Headers.ProductInfoHeaderValue> * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.HttpClientHelper
override this.CreateHttpClientHelper : Microsoft.Azure.SubscriptionCloudCredentials * seq<System.Net.Http.Headers.ProductInfoHeaderValue> * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.HttpClientHelper
Public Overridable Function CreateHttpClientHelper (credentials As SubscriptionCloudCredentials, headerValues As IEnumerable(Of ProductInfoHeaderValue), cmdletHeaderValues As Dictionary(Of String, String)) As HttpClientHelper
Parameters
- credentials
- Microsoft.Azure.SubscriptionCloudCredentials
- headerValues
- IEnumerable<ProductInfoHeaderValue>
- cmdletHeaderValues
- Dictionary<String,String>
Returns
Applies to
CreateHttpClientHelper(ServiceClientCredentials, IEnumerable<ProductInfoHeaderValue>, Dictionary<String,String>)
Creates new instances of the HttpClientHelper class.
public virtual Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.HttpClientHelper CreateHttpClientHelper (Microsoft.Rest.ServiceClientCredentials credentials, System.Collections.Generic.IEnumerable<System.Net.Http.Headers.ProductInfoHeaderValue> headerValues, System.Collections.Generic.Dictionary<string,string> cmdletHeaderValues);
abstract member CreateHttpClientHelper : Microsoft.Rest.ServiceClientCredentials * seq<System.Net.Http.Headers.ProductInfoHeaderValue> * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.HttpClientHelper
override this.CreateHttpClientHelper : Microsoft.Rest.ServiceClientCredentials * seq<System.Net.Http.Headers.ProductInfoHeaderValue> * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.HttpClientHelper
Public Overridable Function CreateHttpClientHelper (credentials As ServiceClientCredentials, headerValues As IEnumerable(Of ProductInfoHeaderValue), cmdletHeaderValues As Dictionary(Of String, String)) As HttpClientHelper
Parameters
- credentials
- ServiceClientCredentials
The credentials.
- headerValues
- IEnumerable<ProductInfoHeaderValue>
The headers.
- cmdletHeaderValues
- Dictionary<String,String>
The cmdlet info header.