C# Класс Microsoft.AspNet.Server.Kestrel.Http.DateHeaderValueManager

Manages the generation of the date header value.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DateHeaderValueManager ( ) : System

Initializes a new instance of the DateHeaderValueManager class.

Dispose ( ) : void

Releases all resources used by the current instance of DateHeaderValueManager.

GetDateHeaderValue ( ) : string

Returns a value representing the current server date/time for use in the HTTP "Date" response header in accordance with http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.18

Приватные методы

Метод Описание
DateHeaderValueManager ( ISystemClock systemClock, System.TimeSpan timeWithoutRequestsUntilIdle, System.TimeSpan timerInterval ) : System
DisposeTimer ( ) : void
PumpTimer ( ) : void
UpdateDateValue ( object state ) : void

Описание методов

DateHeaderValueManager() публичный Метод

Initializes a new instance of the DateHeaderValueManager class.
public DateHeaderValueManager ( ) : System
Результат System

Dispose() публичный Метод

Releases all resources used by the current instance of DateHeaderValueManager.
public Dispose ( ) : void
Результат void

GetDateHeaderValue() публичный Метод

Returns a value representing the current server date/time for use in the HTTP "Date" response header in accordance with http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.18
public GetDateHeaderValue ( ) : string
Результат string