rrppcc/lib.rs
1//! # rrppcc
2//!
3#![doc = include_str!("../README.md")]
4//!
5//! ## Example
6//!
7//! This example sets up a server and a client on two threads, and sends a request
8//! from the client to the server. It assumes that the UDP port 31850 and 31851 can
9//! be used.
10//!
11//! ```rust,no_run
12#![doc = include_str!("../examples/hello.rs")]
13//! ```
14
15mod handler;
16mod msgbuf;
17mod nexus;
18mod pkthdr;
19mod request;
20mod rpc;
21mod session;
22mod transport;
23pub mod type_alias;
24mod util;
25
26pub use self::msgbuf::MsgBuf;
27pub use self::nexus::Nexus;
28pub use self::request::Request;
29pub use self::rpc::Rpc;
30pub use self::session::SessionHandle as Session;
31
32pub use self::handler::RequestHandle;
33
34#[cfg(test)]
35mod tests;