public class WebSocketClientBlueprint$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static WebSocketClientBlueprint$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
WebSocketClientBlueprint$() |
Modifier and Type | Method and Description |
---|---|
org.apache.pekko.stream.scaladsl.BidiFlow<Message,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,Message,scala.concurrent.Future<WebSocketUpgradeResponse>> |
apply(WebSocketRequest request,
ClientConnectionSettings settings,
org.apache.pekko.event.LoggingAdapter log)
Returns a WebSocketClientLayer that can be materialized once.
|
org.apache.pekko.stream.scaladsl.BidiFlow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,scala.concurrent.Future<WebSocketUpgradeResponse>> |
handshake(WebSocketRequest request,
ClientConnectionSettings settings,
org.apache.pekko.event.LoggingAdapter log)
A bidi flow that injects and inspects the WS handshake and then goes out of the way.
|
org.apache.pekko.stream.scaladsl.BidiFlow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.stream.TLSProtocol.SendBytes,org.apache.pekko.NotUsed> |
simpleTls() |
public static final WebSocketClientBlueprint$ MODULE$
public org.apache.pekko.stream.scaladsl.BidiFlow<Message,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,Message,scala.concurrent.Future<WebSocketUpgradeResponse>> apply(WebSocketRequest request, ClientConnectionSettings settings, org.apache.pekko.event.LoggingAdapter log)
request
- (undocumented)settings
- (undocumented)log
- (undocumented)public org.apache.pekko.stream.scaladsl.BidiFlow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,scala.concurrent.Future<WebSocketUpgradeResponse>> handshake(WebSocketRequest request, ClientConnectionSettings settings, org.apache.pekko.event.LoggingAdapter log)
request
- (undocumented)settings
- (undocumented)log
- (undocumented)public org.apache.pekko.stream.scaladsl.BidiFlow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.stream.TLSProtocol.SendBytes,org.apache.pekko.NotUsed> simpleTls()