IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side API

WL.Client.addGlobalHeader

Add an HTTP header to be used in server requests issued by an IBM Worklight framework

The HTTP header is used in all requests until removed by the WL.Client.removeGlobalHeader API call.

Parameter Description
headerName Name of the header to be added.
headerValue Value of the header to be added.


Example


Parent JavaScript client-side API





+

Search Tips   |   Advanced Search