AddHeader

IRequest AddHeader(string key, string value);

Allows the user to add headers to the HttpClient that the Request requires.

Example

await new Request()
    .AddHeader("Authorization", "Bearer Qadz...")
    ...
    .Done();

Back to Request