Files
swift-nio/Sources/NIOTCPEchoClient
Franz Busch 8c238f2cc1 Back out new typed HTTP protocol upgrader (#2579)
# 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.
2023-10-27 15:48:23 +01:00
..
2023-07-31 01:53:41 -07:00

NIOTCPEchoClient

This sample application provides a simple TCP echo client that will send multiple messages to an echo server and wait for a response of all of them. Before running this client, make sure to start the NIOTCPEchoServer.

To run this client execute the following from the root of the repository:

swift run NIOTCPEchoClient