addAdditionalRequestHeader

Adds an additional HTTP request header with the name name and value value to all outgoing requests.

This method should be called prior to the execution of any network requests, typically on initialization of the application, for example in the onCreate function of the main activity.

Since

200.1.0

Parameters

name

the name of the header

value

the value of the header