Add protocol to report external address view. (#566)

Add protocol to report external address view.

Address part of #443.
This commit is contained in:
Toralf Wittner
2018-10-28 11:02:26 +01:00
committed by GitHub
parent 16d5bc777a
commit 585c90a33c
4 changed files with 176 additions and 6 deletions

View File

@ -75,10 +75,5 @@ pub trait ConnectionUpgrade<C> {
///
/// Because performing the upgrade may not be instantaneous (eg. it may require a handshake),
/// this function returns a future instead of the direct output.
fn upgrade(
self,
socket: C,
id: Self::UpgradeIdentifier,
ty: Endpoint,
) -> Self::Future;
fn upgrade(self, socket: C, id: Self::UpgradeIdentifier, ty: Endpoint) -> Self::Future;
}