aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/imap/MCOIMAPSession.h
diff options
context:
space:
mode:
authorGravatar CodaFi <devteam.codafi@gmail.com>2013-09-24 21:57:10 -0600
committerGravatar CodaFi <devteam.codafi@gmail.com>2013-09-24 21:57:10 -0600
commit63f2b3e29d92077a30f198ccfb6fe4cb7f262f87 (patch)
treebe52bfb77f420798480748adb79a9373cd6fce0b /src/objc/imap/MCOIMAPSession.h
parentaae824111ba707346e1b90a0f9c778d9618d6c91 (diff)
Implement Objective-C Interface
Diffstat (limited to 'src/objc/imap/MCOIMAPSession.h')
-rwxr-xr-xsrc/objc/imap/MCOIMAPSession.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPSession.h b/src/objc/imap/MCOIMAPSession.h
index 0759f714..82963f90 100755
--- a/src/objc/imap/MCOIMAPSession.h
+++ b/src/objc/imap/MCOIMAPSession.h
@@ -503,6 +503,16 @@
- (MCOIMAPOperation *)connectOperation;
/**
+ Returns an operation that will perform a No-Op operation on the given IMAP server.
+
+ MCOIMAPOperation * op = [session noopOperation];
+ [op start:^(NSError * error) {
+ ...
+ }];
+ */
+- (MCOIMAPOperation *) noopOperation;
+
+/**
Returns an operation that will check whether the IMAP account is valid.
MCOIMAPOperation * op = [session checkAccountOperation];