Expand description
Nuvo: A simple and secure client-server communication library.
This crate provides a high-level API for establishing secure TCP connections
between a Receiver (server) and a Sender (client). It supports both
asynchronous (Tokio-based) and synchronous (blocking) operations.
§Examples
use nuvo::{receiver, sender};
#[tokio::main(flavor = "current_thread")]
async fn main() -> std::io::Result<()> {
let rx = receiver(8080).password("mypass").listen().await?;
// ... accept and communicate
Ok(())
}Structs§
- Receiver
- A receiver that listens for incoming connections.
- Receiver
Builder - A builder for creating a
Receiver. - Sender
- A sender (or accepted session) used to communicate with a peer.
- Sender
Builder - A builder for creating a
Sender.