Package org.apache.pekko.http.scaladsl
Interface ClientTransport
- All Known Implementing Classes:
HostConnectionPoolSpec.KillSwitchedClientTransport
,NewConnectionPoolSpec.ClientTransportTestSetup.CustomTransport
public interface ClientTransport
Abstraction to allow the creation of alternative transports to run HTTP on.
(Still unstable) SPI for implementors of custom client transports.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,
org.apache.pekko.util.ByteString, scala.concurrent.Future<Http.OutgoingConnection>> connectTo
(String host, int port, ClientConnectionSettings settings, org.apache.pekko.actor.ActorSystem system)
-
Method Details
-
connectTo
org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, connectToscala.concurrent.Future<Http.OutgoingConnection>> (String host, int port, ClientConnectionSettings settings, org.apache.pekko.actor.ActorSystem system)
-