mirror of
https://github.com/apple/swift-nio-imap
synced 2026-11-22 04:30:43 +00:00
Update README (#790)
This commit is contained in:
1 parent
655492302a
commit
52d4ef16f3
1 file changed
+1
-1
@@ -66,5 +66,5 @@ let channel = try await ClientBootstrap(group).channelInitializer { channel in
|
||||
channel.pipeline.addHandler(IMAPClientHandler())
|
||||
}.connect(host: example.com, port: 143).get()
|
||||
|
||||
try await channel.writeAndFlush(CommandStreamPart.tagged(TaggedCommand(tag: "a001", command: .login(username: "mrc", password: "secret"))), promise: nil)
|
||||
try await channel.writeAndFlush(.part(CommandStreamPart.tagged(TaggedCommand(tag: "a001", command: .login(username: "mrc", password: "secret")))), promise: nil)
|
||||
```
|
||||
Reference in new issue
Block a user