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 Type
    Method
    Description
    org.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,scala.concurrent.Future<Http.OutgoingConnection>> connectTo(String host, int port, ClientConnectionSettings settings, org.apache.pekko.actor.ActorSystem system)