Zdexby TheHolyOneZ
49,743 classes
Class

HTTPCache

: Object
Best.HTTP.Caching.HTTPCache, com.Tivadar.Best.HTTP 0x0048 (72 B) inherited 0x0010 com.Tivadar.Best.HTTP.dll
0x00x0048

Members 14

OffsetSizeNameTypeFlagsDefault
—0x08RootFolderNamestringPrivateStatic+1 flags2006161570576
—0x08DatabaseFolderNamestringPrivateStatic+1 flags2006161570528
—0x08ContentFolderNamestringPrivateStatic+1 flags2006161570480
—0x08HeaderFileNamestringPrivateStatic+1 flags2006162542848
—0x08ContentFileNamestringPrivateStatic+1 flags2006162542784
—0x08CacheHostNamestringPublicStatic+1 flags2006162536704
0x08OnCacheSizeChangedOnCacheSizeChangedDelegatePublic—
0x08<Options>k__BackingFieldHTTPCacheOptionsPrivate—
0x08_cacheSizelongPrivate—
0x08OnBeforeBeginCacheOnBeforeBeginCacheDelegatePublic—
0x04_subscribedintPrivate—
0x01_isSupportedboolPrivate—
0x00350x03padding / unreflected
0x08_databaseHTTPCacheDatabasePrivate—
0x08_baseDirectorystringPrivate—

Functions 32

SignatureFlagsNativeParams
HTTPCacheOptions get_Options()Public+1 flags0x08
void set_Options(HTTPCacheOptions value)Private+1 flags0x08
long get_CacheSize()Public+1 flags0x08
void .ctor(HTTPCacheOptions options)Public+1 flags0x08
Hash128 CalculateHash(const HTTPMethods& method, Uri uri)PublicStatic0x10
string GetHashDirectory(const Hash128& hash)Public0x10
string GetHeaderPathFromHash(const Hash128& hash)Public0x10
string GetContentPathFromHash(const Hash128& hash)Public0x10
bool AreCacheFilesExists(const Hash128& hash)Public0x10
void SetupValidationHeaders(HTTPRequest request)Public0x08
bool IsThereEnoughSpaceAfterMaintain(ulong spaceNeeded, LoggingContext context)1 flags0x08
HTTPCacheContentWriter BeginCache(const HTTPMethods& method, Uri uri, int statusCode, Dictionary<System.String headers, LoggingContext context)Public0x08
void EndCache(HTTPCacheContentWriter cacheResult, bool completedWithoutIssue, LoggingContext context)Public0x08
Stream BeginReadContent(const Hash128& hash, LoggingContext context)Public0x10
void EndReadContent(const Hash128& hash, LoggingContext context)Public0x10
void Delete(const Hash128& hash, LoggingContext context)Public0x10
bool RefreshHeaders(const Hash128& hash, Dictionary<System.String newHeaders, LoggingContext context)Public0x10
bool IsCacheble(Dictionary<System.String headers)Private0x08
bool IsCacheble(const HTTPMethods& method, Uri uri, int statusCode)Private0x08
bool CanServeWithoutValidation(const Hash128& hash, const ErrorTypeForValidation& errorType, LoggingContext context)Public0x10
void Redirect(HTTPRequest request, const Hash128& hash)Public0x10
void Maintain(ulong contentLength, bool deleteLockedEntries, LoggingContext context)1 flags0x08
void ZeroOutCacheSize()Private0x00
void IncrementCacheSize(ulong withSize)Private0x08
void DecrementCacheSize(ulong withSize)Private0x08
void MaintainImplementation(ulong contentLength, bool deleteLockedEntries, const DateTime& now, LoggingContext context)Private0x08
void WriteHeaders(Stream headerStream, Dictionary<System.String headers)PrivateStatic0x08
Dictionary<System.String LoadHeaders(Stream headersStream)PrivateStatic0x08
void Dispose()PublicFinal+2 flags0x00
void LogCachingHeaders(Dictionary<System.String headers, LoggingContext context)PrivateStatic0x08
void Clear()Public0x00
void Best.HTTP.Shared.Extensions.IHeartbeat.OnHeartbeatUpdate(const DateTime& now, const TimeSpan& dif)PrivateFinal+2 flags0x08

Used by 3

types with a member, parameter or interface of this type