Some documentation added for KeePassHttp stuff

This commit is contained in:
michael starke
2013-12-18 11:41:20 +01:00
parent 9fbf42322f
commit 08f897437b
6 changed files with 48 additions and 16 deletions

View File

@@ -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