Class PnPCoreHttpRequestsOptions
Http request global settings
Inheritance
System.Object
    PnPCoreHttpRequestsOptions
  Namespace: PnP.Core.Services.Builder.Configuration
Assembly: PnP.Core.dll
Syntax
public class PnPCoreHttpRequestsOptions : object
  Properties
AzureActiveDirectory
Azure AD options
Declaration
public PnPCoreHttpRequestsAzureActiveDirectoryOptions AzureActiveDirectory { get; set; }
  Property Value
| 
        PnPCoreHttpRequestsAzureActiveDirectoryOptions
         
  | 
    
MicrosoftGraph
Microsoft Graph REST options
Declaration
public PnPCoreHttpRequestsGraphOptions MicrosoftGraph { get; set; }
  Property Value
| 
        PnPCoreHttpRequestsGraphOptions
         
  | 
    
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.
Declaration
public int RateLimiterMinimumCapacityLeft { get; set; }
  Property Value
| 
        System.Int32
         
  | 
    
SharePointRest
Timeout
HTTP request timeout in seconds to use when making calls to SharePoint or Microsoft Graph
Declaration
public int Timeout { get; set; }
  Property Value
| 
        System.Int32
         
  | 
    
UserAgent
User agent value, can be customized via configuration
Declaration
public string UserAgent { get; set; }
  Property Value
| 
        System.String
         
  |