mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
# Motivation We got reports in https://github.com/apple/swift-nio/issues/2574 that our new typed HTTP upgrader are hitting a Swift compiler bug which manifests in a runtime crash on older iOS/macOS/etc. # Modification This PR backs out the new typed HTTP protocol upgrader APIs so that we can unblock our users until the Swift compiler bug is fixed. # Result No more crashes for our users.
NIOTCPEchoServer
This sample application provides a simple TCP server that sends clients back whatever they send it.
To run this server execute the following from the root of the repository:
swift run NIOTCPEchoServer
You can then use the NIOTCPClient to send requests to the server.