Sets the content of the request (only applicable to some request methods).
- Namespace
- Statiq
.Core - Containing Type
- WebRequest
Syntax
public WebRequest WithContent(HttpContent content)
Parameters
| Name | Type | Description |
|---|---|---|
| content | HttpContent | The content to set. |
Return Value
| Type | Description |
|---|---|
| WebRequest | The current instance. |