Package akka.http.impl.engine.ws
Class WebSocketClientBlueprint$
java.lang.Object
akka.http.impl.engine.ws.WebSocketClientBlueprint$
INTERNAL API
-
Field Summary
Modifier and TypeFieldDescriptionstatic final WebSocketClientBlueprint$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionakka.stream.scaladsl.BidiFlow<Message,
akka.stream.TLSProtocol.SslTlsOutbound, akka.stream.TLSProtocol.SslTlsInbound, Message, scala.concurrent.Future<WebSocketUpgradeResponse>> apply
(WebSocketRequest request, ClientConnectionSettings settings, akka.event.LoggingAdapter log) Returns a WebSocketClientLayer that can be materialized once.akka.stream.scaladsl.BidiFlow<akka.util.ByteString,
akka.util.ByteString, akka.util.ByteString, akka.util.ByteString, scala.concurrent.Future<WebSocketUpgradeResponse>> handshake
(WebSocketRequest request, ClientConnectionSettings settings, akka.event.LoggingAdapter log) A bidi flow that injects and inspects the WS handshake and then goes out of the way.akka.stream.scaladsl.BidiFlow<akka.stream.TLSProtocol.SslTlsInbound,
akka.util.ByteString, akka.util.ByteString, akka.stream.TLSProtocol.SendBytes, akka.NotUsed>
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
WebSocketClientBlueprint$
public WebSocketClientBlueprint$()
-
-
Method Details
-
apply
public akka.stream.scaladsl.BidiFlow<Message,akka.stream.TLSProtocol.SslTlsOutbound, applyakka.stream.TLSProtocol.SslTlsInbound, Message, scala.concurrent.Future<WebSocketUpgradeResponse>> (WebSocketRequest request, ClientConnectionSettings settings, akka.event.LoggingAdapter log) Returns a WebSocketClientLayer that can be materialized once.- Parameters:
request
- (undocumented)settings
- (undocumented)log
- (undocumented)- Returns:
- (undocumented)
-
handshake
public akka.stream.scaladsl.BidiFlow<akka.util.ByteString,akka.util.ByteString, handshakeakka.util.ByteString, akka.util.ByteString, scala.concurrent.Future<WebSocketUpgradeResponse>> (WebSocketRequest request, ClientConnectionSettings settings, akka.event.LoggingAdapter log) A bidi flow that injects and inspects the WS handshake and then goes out of the way. This BidiFlow can only be materialized once.- Parameters:
request
- (undocumented)settings
- (undocumented)log
- (undocumented)- Returns:
- (undocumented)
-
simpleTls
public akka.stream.scaladsl.BidiFlow<akka.stream.TLSProtocol.SslTlsInbound,akka.util.ByteString, simpleTls()akka.util.ByteString, akka.stream.TLSProtocol.SendBytes, akka.NotUsed>
-