Table of Contents

Class ApiRequestResponse

Namespace
PnP.Core.Services
Assembly
PnP.Core.dll

The response of an executed ApiRequest

public class ApiRequestResponse
Inheritance
ApiRequestResponse
Inherited Members

Properties

ApiRequest

Gets the ApiRequest that resulted in this response

public ApiRequest ApiRequest { get; }

Property Value

ApiRequest

Headers

Contains additional response headers (if any)

public Dictionary<string, string> Headers { get; }

Property Value

Dictionary<string, string>

Response

The JSON response

public string Response { get; }

Property Value

string

StatusCode

Contains the request http status code

public HttpStatusCode StatusCode { get; }

Property Value

HttpStatusCode