diff options
Diffstat (limited to 'src/objc/pop/MCOPOPSession.h')
-rw-r--r-- | src/objc/pop/MCOPOPSession.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/objc/pop/MCOPOPSession.h b/src/objc/pop/MCOPOPSession.h index 6ecca042..4f98421c 100644 --- a/src/objc/pop/MCOPOPSession.h +++ b/src/objc/pop/MCOPOPSession.h @@ -53,6 +53,15 @@ See MCOConnectionType for more information.*/ /** When set to YES, the connection will fail if the certificate is incorrect.*/ @property (nonatomic, assign, getter=isCheckCertificateEnabled) BOOL checkCertificateEnabled; +/** + Sets logger callback. The network traffic will be sent to this block. + + [session setConnectionLogger:^(void * connectionID, MCOConnectionLogType type, NSData * data) { + ... + }]; + */ +@property (nonatomic, copy) MCOConnectionLogger connectionLogger; + /** @name Operations */ /** |