setHeader(key, value)
Sets a default HTTP header for SDK’s internal client requests.
setHeader(key, value)
Parameters
key (string) - key of header
value (string) - value of header
Return Value
void : Sets a default HTTP header for SDK’s internal client requests
Example
// example
sdk.setHeader("Authorization", "Bearer XXX");
Last updated
Was this helpful?