Show / Hide Table of Contents

Class TimeoutHeader

The HTTP Timeout header

Inheritance
Object
TimeoutHeader
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace:FubarDev.WebDavServer.Model.Headers
Assembly:FubarDev.WebDavServer.dll
Syntax
public class TimeoutHeader

Constructors

| Improve this Doc View Source

TimeoutHeader(IReadOnlyCollection<TimeSpan>)

Initializes a new instance of the TimeoutHeader class.

Declaration
public TimeoutHeader(IReadOnlyCollection<TimeSpan> values)
Parameters
Type Name Description
IReadOnlyCollection<TimeSpan> values

The timeout values

Properties

| Improve this Doc View Source

Infinite

Gets the timeout value for an infinite timeout

Declaration
public static TimeSpan Infinite { get; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

Values

Gets the timeout values of the Timeout header

Declaration
public IReadOnlyCollection<TimeSpan> Values { get; }
Property Value
Type Description
IReadOnlyCollection<TimeSpan>

Methods

| Improve this Doc View Source

Parse(IEnumerable<String>)

Parses the header values to get a new instance of the TimeoutHeader class

Declaration
public static TimeoutHeader Parse(IEnumerable<string> args)
Parameters
Type Name Description
IEnumerable<String> args

The header values to parse

Returns
Type Description
TimeoutHeader

The new instance of the TimeoutHeader class

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX