UNPKG

ibm-cloud-sdk-core

Version:

Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.

54 lines (26 loc) 831 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [TokenManager](./ibm-cloud-sdk-core.tokenmanager.md) &gt; [setHeaders](./ibm-cloud-sdk-core.tokenmanager.setheaders.md) ## TokenManager.setHeaders() method Sets the headers to be included with each outbound request to the token server. **Signature:** ```typescript setHeaders(headers: OutgoingHttpHeaders): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> headers </td><td> OutgoingHttpHeaders </td><td> the set of headers to send with each request to the token server </td></tr> </tbody></table> **Returns:** void