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