aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/imap/MCOIMAPSession.h
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-06-26 03:19:20 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-06-26 03:19:20 -0700
commitb17b5d9ebf687241f177c562f7db96f7e5e637cb (patch)
tree5647172399f90ab04ef5fb226bf34c5e6cb2d0c6 /src/objc/imap/MCOIMAPSession.h
parente8649c3ecfc093e379439aa4e88910b3dc27422e (diff)
Implemented logging API for SMTP, POP and IMAP
Diffstat (limited to 'src/objc/imap/MCOIMAPSession.h')
-rw-r--r--src/objc/imap/MCOIMAPSession.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPSession.h b/src/objc/imap/MCOIMAPSession.h
index 1b394eff..0358f7ad 100644
--- a/src/objc/imap/MCOIMAPSession.h
+++ b/src/objc/imap/MCOIMAPSession.h
@@ -90,6 +90,15 @@
*/
@property (nonatomic, assign) unsigned int maximumConnections;
+/**
+ 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 Folder Operations */
/**