mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
Remove UdpCodec (#109)
`UdpFramed` is updated to use the `Encoder` and `Decoder` traits from `tokio-io`.
This commit is contained in:
+2
-2
@@ -39,8 +39,8 @@ A high level description of each example is:
|
||||
showcasing running on multiple cores, working with futures and spawning
|
||||
tasks, and finally framing a TCP connection to discrete request/response
|
||||
objects.
|
||||
* `udp-codec` - an example of using the `UdpCodec` trait along with a small
|
||||
ping-pong protocol happening locally.
|
||||
* `udp-codec` - an example of using the `Encoder`/`Decoder` traits for UDP
|
||||
along with a small ping-pong protocol happening locally.
|
||||
* `compress` - an echo-like server where instead of echoing back everything read
|
||||
it echos back a gzip-compressed version of everything read! All compression
|
||||
occurs on a CPU pool to offload work from the event loop.
|
||||
|
||||
Reference in New Issue
Block a user