Files
swift-nio/Sources/NIOTCPEchoClient
Franz Busch f38b7fd38a Remove SPI from NIOAsyncChannel, new bootstrap methods, protocol negotiation and HTTP upgrade. (#2548)
# Motivation
Over the past months, we have been working on new async bridges to make using NIO's `Channel` from Swift Concurrency possible. Since this work was far reaching we have opted to land all of it as SPI. Now the time has come and we feel confident enough to make the SPI official API. This comes after testing the new APIs in various scenarios such as HTTP 1&2, HTTP upgrades, protocol negotiation and in benchmarks.

# Modification
This PR removes the SPI from the `NIOAsyncChannel`, the bootstrap methods, protocol negotiation and HTTP upgrade.

# Result
Everyone can use the our new APIs🚀
2023-10-17 14:14:02 +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