aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/imap
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc/imap')
-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 6b3b071e..add9a428 100755
--- a/src/objc/imap/MCOIMAPSession.h
+++ b/src/objc/imap/MCOIMAPSession.h
@@ -681,6 +681,16 @@ vanishedMessages will be set only for servers that support QRESYNC. See [RFC5162
encoding:(MCOEncoding)encoding
urgent:(BOOL)urgent DEPRECATED_ATTRIBUTE;
+/**
+ Returns an operation for custom command.
+ @param command is the text representation of the command to be send.
+
+
+ MCOIMAPCustomCommandOperation * op = [session customCommandOperation:@"ACTIVATE SERVICE"];
+ [op start: ^(NSString * __nullable response, NSError * __nullable error) {
+ ...
+ }];
+ */
- (MCOIMAPCustomCommandOperation *) customCommandOperation:(NSString *)command;
/**