mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-12 11:55:09 +00:00
(feat) user rate-limiting support for all SOGo requests
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user