Sets the request method.
- Namespace
- Statiq
.Core - Containing Type
- WebRequest
Syntax
public WebRequest WithMethod(HttpMethod method)
Parameters
| Name | Type | Description |
|---|---|---|
| method | HttpMethod | The method to set. |
Return Value
| Type | Description |
|---|---|
| WebRequest | The current instance. |