Table of Contents

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

PnPCoreHttpRequestsAzureActiveDirectoryOptions

MicrosoftGraph

Microsoft Graph REST options

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.

public int RateLimiterMinimumCapacityLeft { get; set; }

Property Value

int

SharePointRest

SharePoint Online REST options

public PnPCoreHttpRequestsSharePointRestOptions SharePointRest { get; set; }

Property Value

PnPCoreHttpRequestsSharePointRestOptions

Timeout

HTTP request timeout in seconds to use when making calls to SharePoint or Microsoft Graph

public int Timeout { get; set; }

Property Value

int

UserAgent

User agent value, can be customized via configuration

public string UserAgent { get; set; }

Property Value

string