Crate tobytcp [] [src]

The tobytcp library provides the TobyMessenger struct used for sending bi-directional messages in a TcpStream.

Modules

protocol

This module has a helper for encoding data to TobyTcp

Structs

TobyMessenger

TobyMessenger lets you send messages (in the form of Vec<u8>) over a [TcpStream] [TcpStream]: https://doc.rust-lang.org/std/net/struct.TcpStream.html