This is an exciting library! It would be fantastic to have a slightly more elaborate code sample for the SwiftNIO ChannelHandlers, which I assume would be the most common API for users of swift-nio-imap.
Currently, the README includes a short login example using IMAPClientHandler, but it's not clear from the code how you'd handle an incorrect login for example. Being new to SwiftNIO, I'm not even sure where the response ends up. It would be great to have a slightly more elaborate example with a call and response for both Client and Server, to demonstrate the basic usage. Perhaps these are outside the scope of a README, and could end up in /examples.
Expected behavior
This is an exciting library! It would be fantastic to have a slightly more elaborate code sample for the SwiftNIO ChannelHandlers, which I assume would be the most common API for users of swift-nio-imap.
Currently, the README includes a short login example using
IMAPClientHandler
, but it's not clear from the code how you'd handle an incorrect login for example. Being new to SwiftNIO, I'm not even sure where the response ends up. It would be great to have a slightly more elaborate example with a call and response for both Client and Server, to demonstrate the basic usage. Perhaps these are outside the scope of a README, and could end up in/examples
.