Expand description
Handles outbound requests from our node to the network.
Modules§
- tests
- Tests for the
Clientpart of peer connections, and some test utilities for mockingClientinstances.
Structs§
- Cancel
Heartbeat Task - A signal sent by the
Clienthalf of a peer connection, to cancel aClient’s heartbeat task. - Client
- The “client” duplex half of a peer connection.
- Client
Request 🔒 - A message from the
peer::Clientto thepeer::Server. - Client
Request 🔒Receiver - A receiver for the
peer::Server, which wraps ampsc::Receiver, convertingClientRequests intoInProgressClientRequests. - InProgress
Client 🔒Request - A message from the
peer::Clientto thepeer::Server, after it has been received by thepeer::Server. - Missing
Inventory 🔒Collector - Forwards missing inventory in the response to the inventory registry.
- Must
UseClient 🔒Response Sender - A
oneshot::Senderfor client responses, that must be used by callingsend(). Also handles forwarding missing inventory to the inventory registry.