C# Класс Simplify.Web.Owin.OwinHttpRequestHelper

Provides OWIN and HTTP related utility functions
Показать файл Открыть проект

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

Метод Описание
GetIfModifiedSinceTime ( IHeaderDictionary headers ) : DateTime?

Gets If-Modified-Since time header from headers collection.

GetRelativeFilePath ( IOwinRequest request ) : string

Gets the relative file path of request.

IsNoCacheRequested ( string cacheControlHeader ) : bool

Determines whether no cache is requested

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

GetIfModifiedSinceTime() публичный статический Метод

Gets If-Modified-Since time header from headers collection.
public static GetIfModifiedSinceTime ( IHeaderDictionary headers ) : DateTime?
headers IHeaderDictionary The headers.
Результат DateTime?

GetRelativeFilePath() публичный статический Метод

Gets the relative file path of request.
public static GetRelativeFilePath ( IOwinRequest request ) : string
request IOwinRequest The request.
Результат string

IsNoCacheRequested() публичный статический Метод

Determines whether no cache is requested
public static IsNoCacheRequested ( string cacheControlHeader ) : bool
cacheControlHeader string The cache control header.
Результат bool