public class WebSocketClientBlueprint
extends java.lang.Object
Constructor and Description |
---|
WebSocketClientBlueprint() |
Modifier and Type | Method and Description |
---|---|
static 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.
|
static 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.
|
static 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 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 static 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 static 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()