Class WebDavRequestHeaders
Implementation of the IWebDavRequestHeaders interface
Inherited Members
Namespace:FubarDev.WebDavServer
Assembly:FubarDev.WebDavServer.dll
Syntax
public class WebDavRequestHeaders : IWebDavRequestHeaders
Constructors
| Improve this Doc View SourceWebDavRequestHeaders(IEnumerable<KeyValuePair<String, IEnumerable<String>>>, IWebDavContext)
Initializes a new instance of the WebDavRequestHeaders class.
Declaration
public WebDavRequestHeaders([NotNull] IEnumerable<KeyValuePair<string, IEnumerable<string>>> headers, [NotNull] IWebDavContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<System.Collections.Generic.KeyValuePair<String, IEnumerable<String>>> | headers | The headers to parse |
| IWebDavContext | context | The WebDAV request context |
Properties
| Improve this Doc View SourceDepth
Gets the Depth header
Declaration
public DepthHeader? Depth { get; }
Property Value
| Type | Description |
|---|---|
| Nullable<DepthHeader> |
Implements
| Improve this Doc View SourceHeaders
Gets all headers
Declaration
public IReadOnlyDictionary<string, IReadOnlyCollection<string>> Headers { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<String, IReadOnlyCollection<String>> |
Implements
| Improve this Doc View SourceIf
Gets the If header
Declaration
public IfHeader If { get; }
Property Value
| Type | Description |
|---|---|
| IfHeader |
Implements
| Improve this Doc View SourceIfMatch
Gets the If-Match header
Declaration
public IfMatchHeader IfMatch { get; }
Property Value
| Type | Description |
|---|---|
| IfMatchHeader |
Implements
| Improve this Doc View SourceIfModifiedSince
Gets the If-Modified-Since header
Declaration
public IfModifiedSinceHeader IfModifiedSince { get; }
Property Value
| Type | Description |
|---|---|
| IfModifiedSinceHeader |
Implements
| Improve this Doc View SourceIfNoneMatch
Gets the If-None-Match header
Declaration
public IfNoneMatchHeader IfNoneMatch { get; }
Property Value
| Type | Description |
|---|---|
| IfNoneMatchHeader |
Implements
| Improve this Doc View SourceIfUnmodifiedSince
Gets the If-Unmodified-Since header
Declaration
public IfUnmodifiedSinceHeader IfUnmodifiedSince { get; }
Property Value
| Type | Description |
|---|---|
| IfUnmodifiedSinceHeader |
Implements
| Improve this Doc View SourceItem[String]
Gets a headers values by name
Declaration
public IReadOnlyCollection<string> this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | The name of the header |
Property Value
| Type | Description |
|---|---|
| IReadOnlyCollection<String> | The header values |
Implements
| Improve this Doc View SourceOverwrite
Gets the value of the Overwrite (OverwriteHeader) header
Declaration
public bool ? Overwrite { get; }
Property Value
| Type | Description |
|---|---|
| Nullable<Boolean> |
Implements
| Improve this Doc View SourceRange
Gets the Range header
Declaration
public RangeHeader Range { get; }
Property Value
| Type | Description |
|---|---|
| RangeHeader |
Implements
| Improve this Doc View SourceTimeout
Gets the Timeout header
Declaration
public TimeoutHeader Timeout { get; }
Property Value
| Type | Description |
|---|---|
| TimeoutHeader |