aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc
diff options
context:
space:
mode:
authorGravatar libec <libor.huspenina@gmail.com>2015-11-06 09:03:30 +0100
committerGravatar libec <libor.huspenina@gmail.com>2015-11-06 09:03:30 +0100
commite8e41511e27e9b9f5d757bf2ac33871edd676ec4 (patch)
tree26f9fdc7fe5b0ec4dc0935d0dc9c0e017ad5bfa3 /src/objc
parentd0408d75fd7ead8f36acc60155d49e236850f7ce (diff)
Comment with usage of custom IMAP operation
Diffstat (limited to 'src/objc')
-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;
/**