Re-exports§
pub use handshaker::DoHandshakeRequest;
pub use handshaker::HandshakeError;
pub use handshaker::HandshakerBuilder;
Modules§
- handshaker
- Handshake Module
Structs§
- Client
- This represents a connection to a peer.
- Connect
Request - A request to connect to a peer.
- Connector
- The connector service, this service connects to peer and returns the
Client
. - Peer
Information - Information on a connected peer.
- Weak
Broadcast Client - A client used to send
BroadcastMessage
s directly to a single peer, although these messages can be sent using aWeakClient
orClient
, using this client type allows bypassing the single request being handled at a time. - Weak
Client - A weak handle to a
Client
.
Enums§
- Internal
PeerID - An internal identifier for a given peer, will be their address if known or a random u128 if not.
Functions§
- mock_
client - Creates a mock
Client
for testing purposes.