File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ TCacheMiddleware = class(TRequestDelegate)
62
62
private
63
63
fCacheService : IDistributedCache;
64
64
function GetResponseFromCache (aContext : THttpContextBase) : Boolean;
65
- function SaveResponseToCache (aContext: THttpContextBase; aDurationMS : Integer): Boolean ;
65
+ procedure SaveResponseToCache (aContext: THttpContextBase; aDurationMS : Integer);
66
66
public
67
67
constructor Create(aNext: TRequestDelegate; aCacheService : IDistributedCache);
68
68
destructor Destroy; override;
@@ -104,7 +104,7 @@ function TCacheMiddleware.GetResponseFromCache(aContext: THttpContextBase): Bool
104
104
end ;
105
105
end ;
106
106
107
- function TCacheMiddleware.SaveResponseToCache (aContext: THttpContextBase; aDurationMS : Integer): Boolean ;
107
+ procedure TCacheMiddleware.SaveResponseToCache (aContext: THttpContextBase; aDurationMS : Integer);
108
108
var
109
109
cacheitem : TResponseCacheItem;
110
110
begin
You can’t perform that action at this time.
0 commit comments