IClientFactory.CreateHttpClient 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
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