mirror of
https://github.com/apple/swift-nio-imap
synced 2026-11-24 04:38:04 +00:00
1.1 KiB
1.1 KiB
Parsing and Encoding
Parse IMAP server responses and encode client commands using these streaming parsers and encode buffers.
Overview
NIOIMAPCore provides comprehensive parsing and encoding capabilities. These types handle the conversion between the IMAP wire format and strongly-typed Swift structures, including error handling and advanced features like pipelining.
Topics
Parsers
Streaming parsers for different contexts.
ResponseParserCommandParserSynchronizingLiteralParser
Encoders
Buffers for encoding protocol elements back to wire format.
CommandEncodeBufferResponseEncodeBufferCommandEncodingOptionsResponseEncodingOptions
Pipelining
Types related to command pipelining behavior.
PipeliningRequirementPipeliningBehavior
Errors
Parsing and encoding errors that may occur.
BadCommandParserErrorTooMuchRecursionExceededMaximumMessageAttributesErrorExceededMaximumBodySizeErrorExceededLiteralSizeLimitError
Utilities
Utility types and protocol defaults.
ModifiedUTF7IMAPDefaults