Skip to content

Example use of SwiftNIO ChannelHandlers #750

@bensyverson

Description

@bensyverson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions