SP.WebResponseInfo object

Contains a copy of the third-party service response.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.WebResponseInfo()

Members

The WebResponseInfo object has the following members.

Constructor

The WebResponseInfo object has the following constructor.

Constructor

Description

WebResponseInfo

Initializes a new instance of the SP.WebResponseInfo object.

Properties

The WebResponseInfo object has the following properties.

Property

Description

body

Gets or sets the body of the HTTP response.

headers

Gets or sets the headers of the HTTP response.

statusCode

Gets or sets the status code of the HTTP response.

typeId

This member is reserved for internal use and is not intended to be used directly from your code.