mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 02:19:22 +02:00
use new actix api
This commit is contained in:
@ -191,7 +191,8 @@ impl Handler<Connect> for ClientConnector {
|
||||
|
||||
ActorResponse::async(
|
||||
Connector::from_registry()
|
||||
.call(self, ResolveConnect::host_and_port(&host, port))
|
||||
.call(ResolveConnect::host_and_port(&host, port))
|
||||
.into_actor(self)
|
||||
.map_err(|_, _, _| ClientConnectorError::Disconnected)
|
||||
.and_then(move |res, _act, _| {
|
||||
#[cfg(feature="alpn")]
|
||||
|
Reference in New Issue
Block a user