(feat) user rate-limiting support for all SOGo requests

This commit is contained in:
Ludovic Marcotte
2016-03-18 11:03:45 -04:00
parent 30b08941f6
commit 766d0ff64e
6 changed files with 176 additions and 0 deletions
+9
View File
@@ -142,6 +142,15 @@
forPath: (NSString *) thePath;
- (NSMutableDictionary *) aclsForPath: (NSString *) thePath;
//
// SOGo rate-limiting
//
- (void) setRequestCount: (int) theCount
forLogin: (NSString *) theLogin
interval: (unsigned int) theInterval;
- (NSDictionary *) requestCountForLogin: (NSString *) theLogin;
@end
#endif /* SOGOCACHE_H */