◆ constructHeaders()
SetHeadersElement::constructHeaders | ( | pipeline | ) |
Construct the headers and their properties which can be set by the service.
An example of the structure of the headers is: { 'Accept-CH': { name: 'Accept-CH', properties: [ 'device.SetHeaderBrowserAccept-CH', 'device.SetHeaderPlatformAccept-CH', 'device.SetHeaderHardwareAccept-CH' ] } }
- Parameters
-
- {Pipeline} - pipeline The pipeline instance to get the properties from.
- Returns
- {object} Collection of headers which can be set in the response.