Update README (#790)

This commit is contained in:
Daniel Eggert authored and GitHub committed 2025-05-06 15:08:00 +02:00
1 parent 655492302a
commit 52d4ef16f3
1 file changed
+1 -1
+1 -1
View File
@@ -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)
```