GraphClientFactory Class

Definition

GraphClientFactory class to create the HTTP client

public static class GraphClientFactory
type GraphClientFactory = class
Public Class GraphClientFactory
Inheritance
GraphClientFactory

Fields

China_Cloud
Germany_Cloud
Global_Cloud
USGOV_Cloud

Methods

Create(IAuthenticationProvider, String, String, IWebProxy, HttpMessageHandler)

Creates a new HttpClient instance configured with the handlers provided.

Create(IEnumerable<DelegatingHandler>, String, String, IWebProxy, HttpMessageHandler)

Creates a new HttpClient instance configured with the handlers provided.

CreateDefaultHandlers(IAuthenticationProvider)

Create a default set of middleware for calling Microsoft Graph

CreatePipeline(IEnumerable<DelegatingHandler>, HttpMessageHandler)

Creates an instance of an HttpMessageHandler using the DelegatingHandler instances provided by handlers. The resulting pipeline can be used to manually create HttpClient or HttpMessageInvoker instances with customized message handlers.

Applies to