Class PnPCoreHttpRequestsOptions
- Namespace
- PnP.Core.Services.Builder.Configuration
- Assembly
- PnP.Core.dll
Http request global settings
public class PnPCoreHttpRequestsOptions
- Inheritance
-
PnPCoreHttpRequestsOptions
- Inherited Members
Properties
AzureActiveDirectory
Azure AD options
public PnPCoreHttpRequestsAzureActiveDirectoryOptions AzureActiveDirectory { get; set; }
Property Value
MicrosoftGraph
Microsoft Graph REST options
public PnPCoreHttpRequestsGraphOptions MicrosoftGraph { get; set; }
Property Value
RateLimiterMinimumCapacityLeft
When set (e.g. to 10%) then RateLimit response headers coming from SharePoint and Graph are used: if there's less then the set value (e.g. 10%) capacity left before getting throttled the pending request will be delayed until the 1 minute window is reset. Defaults to 10, set to 0 to disable.
public int RateLimiterMinimumCapacityLeft { get; set; }
Property Value
SharePointRest
SharePoint Online REST options
public PnPCoreHttpRequestsSharePointRestOptions SharePointRest { get; set; }
Property Value
Timeout
HTTP request timeout in seconds to use when making calls to SharePoint or Microsoft Graph
public int Timeout { get; set; }
Property Value
UserAgent
User agent value, can be customized via configuration
public string UserAgent { get; set; }