C# Class Nancy.Demo.Caching.CachedResponse

Wraps a regular response in a cached response The cached response invokes the old response and stores it as a string. Obviously this only works for ASCII text based responses, so don't use this in a real application :-)
Inheritance: Nancy.Response
Afficher le fichier Open project: NashDotNet/ravendb_nancyfx_presentation Class Usage Examples

Méthodes publiques

Méthode Description
CachedResponse ( Response response ) : System

Méthodes protégées

Méthode Description
GetContents ( string contents ) : Action

Method Details

CachedResponse() public méthode

public CachedResponse ( Response response ) : System
response Nancy.Response
Résultat System

GetContents() protected static méthode

protected static GetContents ( string contents ) : Action
contents string
Résultat Action