diff options
author | libec <libor.huspenina@gmail.com> | 2015-11-06 09:03:30 +0100 |
---|---|---|
committer | libec <libor.huspenina@gmail.com> | 2015-11-06 09:03:30 +0100 |
commit | e8e41511e27e9b9f5d757bf2ac33871edd676ec4 (patch) | |
tree | 26f9fdc7fe5b0ec4dc0935d0dc9c0e017ad5bfa3 /src/objc | |
parent | d0408d75fd7ead8f36acc60155d49e236850f7ce (diff) |
Comment with usage of custom IMAP operation
Diffstat (limited to 'src/objc')
-rwxr-xr-x | src/objc/imap/MCOIMAPSession.h | 10 |
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; /** |