help wanted
Repository metrics
- Stars
- (77 stars)
- PR merge metrics
- (PR metrics pending)
Description
I was looking for an example of how to make a reusable tcp client with Tokio, and this seems to be the only example in the wild that I can actually find, so thank you. This will hopefully be helpful for my own project.
I was wondering why you do not use tokio_codec to handle the bytes serialization/deserialization. I think it might be easier to read if you use the Encoder/Decoder traits to separate those concerns into their own instead of mixing them into polling.