mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-20 19:09:24 +00:00
Some documentation added for KeePassHttp stuff
This commit is contained in:
@@ -8,10 +8,23 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
/**
|
||||
* Protocol for request handling of KeePassHttp request
|
||||
*/
|
||||
@protocol MPServerRequestHandling <NSObject>
|
||||
|
||||
@required
|
||||
/**
|
||||
* A unique identifier for the request handler
|
||||
*
|
||||
* @return NSString representing the identifier
|
||||
*/
|
||||
- (NSString *)identifier;
|
||||
/**
|
||||
* Formulate a response to the request passed in as Dictionary
|
||||
*
|
||||
* @param data An NSDictionary containing the parsed JSON reuest
|
||||
*/
|
||||
- (void)respondTo:(NSDictionary *)data;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user