Compartir a través de


IClientFactory.CreateHttpClient Method

Definition

Overloads

CreateHttpClient(String, HttpMessageHandler)
CreateHttpClient(String, ICredentials)

CreateHttpClient(String, HttpMessageHandler)

public System.Net.Http.HttpClient CreateHttpClient (string endpoint, System.Net.Http.HttpMessageHandler effectiveHandler);
abstract member CreateHttpClient : string * System.Net.Http.HttpMessageHandler -> System.Net.Http.HttpClient
Public Function CreateHttpClient (endpoint As String, effectiveHandler As HttpMessageHandler) As HttpClient

Parameters

endpoint
String
effectiveHandler
HttpMessageHandler

Returns

Applies to

CreateHttpClient(String, ICredentials)

public System.Net.Http.HttpClient CreateHttpClient (string endpoint, System.Net.ICredentials credentials);
abstract member CreateHttpClient : string * System.Net.ICredentials -> System.Net.Http.HttpClient
Public Function CreateHttpClient (endpoint As String, credentials As ICredentials) As HttpClient

Parameters

endpoint
String
credentials
ICredentials

Returns

Applies to