WithHeaders(WebRequestHeaders) Method
Sets the request headers.
Namespace
Statiq.Core
Containing Type
WebRequest

Syntax

public WebRequest WithHeaders(WebRequestHeaders headers)

Parameters

Name Type Description
headers WebRequestHeaders The request headers to set.

Return Value

Type Description
WebRequest The current instance.