We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a9e204 commit 3654685Copy full SHA for 3654685
protocols/request-response/src/lib.rs
@@ -430,8 +430,9 @@ where
430
/// > the `RequestResponse` protocol must either be embedded
431
/// > in another `NetworkBehaviour` that provides peer and
432
/// > address discovery, or known addresses of peers must be
433
- /// > managed via [`Behaviour::add_address`] and
434
- /// > [`Behaviour::remove_address`].
+ /// > managed via [`libp2p_swarm::Swarm::add_peer_address`].
+ /// > Addresses are automatically removed when dial attempts
435
+ /// > to them fail.
436
pub fn send_request(&mut self, peer: &PeerId, request: TCodec::Request) -> OutboundRequestId {
437
let request_id = self.next_outbound_request_id();
438
let request = OutboundMessage {
0 commit comments