docs: restore connect's session doc from the account_with_dial insertion
This commit is contained in:
parent
28f13641a3
commit
7f3e30655f
1 changed files with 3 additions and 3 deletions
|
|
@ -53,9 +53,6 @@ impl Session {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Opens a session, enforcing sec 4's rule about unpinned servers. TCP pins
|
|
||||||
/// the server's Noise static key; on RNS the destination hash is the pin
|
|
||||||
/// (RNS.md sec 13.4).
|
|
||||||
/// The account address with the host's dial hint applied, when the caller
|
/// The account address with the host's dial hint applied, when the caller
|
||||||
/// resolved DNS itself: account-bound operations re-read the account, so
|
/// resolved DNS itself: account-bound operations re-read the account, so
|
||||||
/// the hint rides along this way rather than in the stored row.
|
/// the hint rides along this way rather than in the stored row.
|
||||||
|
|
@ -70,6 +67,9 @@ fn account_with_dial(store: &Store, dial: Option<&str>) -> Result<Address, Error
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Opens a session, enforcing sec 4's rule about unpinned servers. TCP pins
|
||||||
|
/// the server's Noise static key; on RNS the destination hash is the pin
|
||||||
|
/// (RNS.md sec 13.4).
|
||||||
#[cfg(feature = "store")]
|
#[cfg(feature = "store")]
|
||||||
pub fn connect(
|
pub fn connect(
|
||||||
store: &Store,
|
store: &Store,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue