public static class Handshake.Client$
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Handshake.Client$.NegotiatedWebSocketSettings |
class |
Handshake.Client$.NegotiatedWebSocketSettings$ |
| Modifier and Type | Field and Description |
|---|---|
static Handshake.Client$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
Client$() |
| Modifier and Type | Method and Description |
|---|---|
scala.Tuple2<HttpRequest,Sec$minusWebSocket$minusKey> |
buildRequest(Uri uri,
scala.collection.immutable.Seq<HttpHeader> extraHeaders,
scala.collection.immutable.Seq<java.lang.String> subprotocols,
java.util.Random random)
Builds a WebSocket handshake request.
|
scala.util.Either<java.lang.String,org.apache.pekko.http.impl.engine.ws.Handshake.Client.NegotiatedWebSocketSettings> |
validateResponse(HttpResponse response,
scala.collection.immutable.Seq<java.lang.String> subprotocols,
Sec$minusWebSocket$minusKey key)
Tries to validate the HTTP response.
|
public static final Handshake.Client$ MODULE$
public scala.Tuple2<HttpRequest,Sec$minusWebSocket$minusKey> buildRequest(Uri uri, scala.collection.immutable.Seq<HttpHeader> extraHeaders, scala.collection.immutable.Seq<java.lang.String> subprotocols, java.util.Random random)
uri - (undocumented)extraHeaders - (undocumented)subprotocols - (undocumented)random - (undocumented)public scala.util.Either<java.lang.String,org.apache.pekko.http.impl.engine.ws.Handshake.Client.NegotiatedWebSocketSettings> validateResponse(HttpResponse response, scala.collection.immutable.Seq<java.lang.String> subprotocols, Sec$minusWebSocket$minusKey key)
response - (undocumented)subprotocols - (undocumented)key - (undocumented)