C# 클래스 Microsoft.AspNet.Server.Kestrel.Http.DateHeaderValueManager

Manages the generation of the date header value.
상속: IDisposable
파일 보기 프로젝트 열기: Starcounter/KestrelHttpServer 1 사용 예제들

공개 메소드들

메소드 설명
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