Search Results for

    Show / Hide Table of Contents

    Class SharePointRestClient

    Client that handles all SharePoint REST requests

    Inheritance
    System.Object
    SharePointRestClient
    Namespace: PnP.Core.Services
    Assembly: PnP.Core.dll
    Syntax
    public class SharePointRestClient : object

    Constructors

    SharePointRestClient(HttpClient, ILogger<SharePointRestClient>, IOptions<PnPGlobalSettingsOptions>)

    Default Constructor

    Declaration
    public SharePointRestClient(HttpClient client, ILogger<SharePointRestClient> log, IOptions<PnPGlobalSettingsOptions> options)
    Parameters
    HttpClient client

    Http Client coming from the .Net http client factory

    ILogger<SharePointRestClient> log

    Logger service

    IOptions<PnPGlobalSettingsOptions> options

    Options service

    Properties

    Client

    Http client which needs to be used for making a SharePoint REST call

    Declaration
    public HttpClient Client { get; }
    Property Value
    HttpClient

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer