Function hyper::upgrade::on[][src]

pub fn on<T: CanUpgrade>(msg: T) -> OnUpgrade

Notable traits for OnUpgrade

impl Future for OnUpgrade type Output = Result<Upgraded, Error>;
Expand description

Gets a pending HTTP upgrade from this message.