mirror of
https://github.com/apple/swift-nio-imap
synced 2026-11-24 04:38:04 +00:00
1.2 KiB
1.2 KiB
Protocol Core
The core types for IMAP client-server communication: commands, responses, capabilities, and authentication.
Overview
The protocol core encompasses the fundamental types exchanged between clients and servers: the commands you send, the responses you receive, and the elements that comprise them. These types form the backbone of IMAP communication.
Topics
Commands
Use these types to send commands to the server and request actions or retrieve data.
CommandCommandStreamPartAppendCommandTaggedCommand
Responses
Use these types to handle the server's responses, from simple confirmations to complex streaming data.
ResponseFetchResponseStreamingKindResponseOrContinuationRequestTaggedResponseContinuationRequest
Response Text
These types appear within response messages and convey status information and additional context.
ResponseTextResponseTextCodeResponseCodeAppendResponseCodeCopy
Capabilities & Authentication
Discover server capabilities and authenticate with these types.
CapabilityAuthenticationMechanismInitialResponse