Adds a new request header.
- Namespace
- Statiq
.Core - Containing Type
- WebRequestHeaders
Syntax
public WebRequestHeaders Add(string name, string value)
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the request header to add. |
value | string | The value of the request header to add. |
Return Value
Type | Description |
---|---|
WebRequestHeaders | The current instance. |