ibm-cloud-sdk-core
Version:
Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.
54 lines (26 loc) • 831 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) > [TokenManager](./ibm-cloud-sdk-core.tokenmanager.md) > [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