(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 bb04ce39d6
commit 9d6ab2df33
6 changed files with 176 additions and 0 deletions
+9
View File
@@ -141,6 +141,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 */