> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setheader.md).

# SetHeader

Set a default HTTP header for proxy information requests.

```c
void SetHeader(char* key, char* value);
```

***

## Parameters

* **key**: Header name.
* **value**: Header value.

## Return Value

Set a default HTTP header for proxy information requests

## Example

```c
// example

SetHeader("Authorization", "Bearer XXX");

```
