Connection 💌
A TCP-based connection that can send & receive serializable objects.
Usage
Add this to your Cargo.toml:
[]
= "0.2.5"
You can create a Connection
by connecting like so:
use Connection;
async
You can use the Connection
to send and receive serializable objects:
use Connection;
use ;
/// A (de)serializable type shared between client and server
/// Code running client side
async
/// Code running server side
async