The request headers to use with the
ReadWeb
module.
- Namespace
- Statiq
.Core - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["WebRequestHeaders"]
class Type type-node
Syntax
public class WebRequestHeaders
Constructors
Name | Summary |
---|---|
WebRequestHeaders |
Creates a new empty set of request headers. |
WebRequestHeaders |
Creates the specified request headers. |
Properties
Name | Property Type | Summary |
---|---|---|
Accept | List |
|
AcceptCharset | List |
|
AcceptEncoding | List |
|
AcceptLanguage | List |
|
BasicAuthorization | Tuple |
|
Connection | List |
|
Date | DateTimeOffset? | |
Expect | List |
|
ExpectContinue | bool? | |
From | string | |
Host | string | |
IfMatch | List |
|
IfModifiedSince | DateTimeOffset? | |
IfNoneMatch | List |
|
IfUnmodifiedSince | DateTimeOffset? | |
MaxForwards | int? | |
Referrer | Uri | |
TransferEncoding | List |
|
Transfer |
bool? |
Methods
Name | Return Value | Summary |
---|---|---|
Add |
WebRequestHeaders |
Adds a new request header with multiple values.
|
Add |
WebRequestHeaders |
Adds a new request header.
|
Remove |
WebRequestHeaders |
Removes a request header.
|
Set |
void |