Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwiftNIO 实战之文本修改服务器文章中的一些小问题 #2

Open
hstdt opened this issue Mar 9, 2022 · 0 comments
Open

Comments

@hstdt
Copy link

hstdt commented Mar 9, 2022

https://github.com/swiftdo/swiftdo.github.io/blob/master/swift/vapor/v-23-swiftnio-do-text.html

感谢文章详细的注释,让我初步学习swiftnio用法。同时发现了一些代码小问题。

mdkir niots->mkdir niots
context.write(self.wrapInboundOut(buff), promise: nil)->context.writeAndFlush(self.wrapInboundOut(buff), promise: nil) 否则无法在控制台中看到输出

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant