SetHeader

Set a default HTTP header for proxy information requests.

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

// example

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

Last updated

Was this helpful?