Skip to content

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

Open
@hstdt

Description

@hstdt

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) 否则无法在控制台中看到输出

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