C# Class Simplify.Web.Owin.OwinHttpRequestHelper

Provides OWIN and HTTP related utility functions
Afficher le fichier Open project: i4004/Simplify.Web

Méthodes publiques

Méthode Description
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

Method Details

GetIfModifiedSinceTime() public static méthode

Gets If-Modified-Since time header from headers collection.
public static GetIfModifiedSinceTime ( IHeaderDictionary headers ) : DateTime?
headers IHeaderDictionary The headers.
Résultat DateTime?

GetRelativeFilePath() public static méthode

Gets the relative file path of request.
public static GetRelativeFilePath ( IOwinRequest request ) : string
request IOwinRequest The request.
Résultat string

IsNoCacheRequested() public static méthode

Determines whether no cache is requested
public static IsNoCacheRequested ( string cacheControlHeader ) : bool
cacheControlHeader string The cache control header.
Résultat bool