Files
swift-nio-imap/Examples/IMAPTool/Sources
Daniel Eggert f1dd8b2cba Add ResponseText.Text for response text
`.no(.init(text: "No mailbox x\r\n* BYE pwned"))` was written verbatim,
injecting an untagged response; likewise tagged, BYE, PREAUTH and
continuation responses.

RFC 9051: `text = 1*(TEXT-CHAR / UTF8-2 / UTF8-3 / UTF8-4)`. New
`ResponseText.Text` replaces the `String`; `init?(_:)` rejects NUL, CR,
LF and a leading space (the parser skips it), literals trap. Empty stays
valid. The parser now accepts UTF-8 text.
2026-10-29 15:51:38 +01:00
..