Class SharePointRestClient
Client that handles all SharePoint REST requests
public class SharePointRestClient
- Inheritance
-
SharePointRestClient
- Inherited Members
Constructors
SharePointRestClient(HttpClient, ILogger<SharePointRestClient>, IOptions<PnPGlobalSettingsOptions>)
Default Constructor
public SharePointRestClient(HttpClient client, ILogger<SharePointRestClient> log, IOptions<PnPGlobalSettingsOptions> options)
Parameters
clientHttpClientHttp Client coming from the .Net http client factory
logILogger<SharePointRestClient>Logger service
optionsIOptions<PnPGlobalSettingsOptions>Options service
Properties
Client
Http client which needs to be used for making a SharePoint REST call
public HttpClient Client { get; }