ISPHttpClientBatchConfigurations interface

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Standard configurations for SPHttpClient.

Remarks

This interface provides standard predefined SPHttpClientBatchConfiguration objects for use with the SPHttpClientBatch class. In general, clients should choose the latest available version number, which enables all the switches that are recommended for typical scenarios. (If new switches are introduced in the future, a new version number will be introduced, which ensures that existing code will continue to function the way it did at the time when it was tested.)

Properties

v1

Version 1 enables these switches: consoleLogging = true; jsonRequest = true; jsonResponse = true

Property Details

v1

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Version 1 enables these switches: consoleLogging = true; jsonRequest = true; jsonResponse = true

readonly v1: SPHttpClientBatchConfiguration;

Property Value

@microsoft/sp-http!default:class