Class EchoTestClientApp$
java.lang.Object
org.apache.pekko.http.impl.engine.ws.EchoTestClientApp$
- All Implemented Interfaces:
scala.App,scala.DelayedInit
An example App that runs a quick test against the websocket server at wss://echo.websocket.org
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EchoTestClientApp$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.stream.scaladsl.Source<scala.runtime.Nothing$,org.apache.pekko.NotUsed> delayedCompletion(scala.concurrent.duration.FiniteDuration delay) org.apache.pekko.stream.scaladsl.Flow<Message,Message, scala.concurrent.Future<scala.collection.immutable.Seq<String>>> final longscala.collection.immutable.List<Message>messages()scala.concurrent.Future<scala.collection.immutable.Seq<String>>res()org.apache.pekko.stream.scaladsl.Sink<Message,scala.concurrent.Future<scala.collection.immutable.Seq<String>>> sink()org.apache.pekko.stream.scaladsl.Source<Message,org.apache.pekko.NotUsed> source()org.apache.pekko.actor.ActorSystemsystem()scala.concurrent.Future<WebSocketUpgradeResponse>upgrade()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.App
args, delayedInit, main, scala$App$_setter_$executionStart_$eq, scala$App$_setter_$scala$App$$initCode_$eq, scala$App$$_args, scala$App$$_args_$eq, scala$App$$initCode
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
EchoTestClientApp$
public EchoTestClientApp$()
-
-
Method Details
-
executionStart
public final long executionStart()- Specified by:
executionStartin interfacescala.App
-
system
public org.apache.pekko.actor.ActorSystem system() -
delayedCompletion
public org.apache.pekko.stream.scaladsl.Source<scala.runtime.Nothing$,org.apache.pekko.NotUsed> delayedCompletion(scala.concurrent.duration.FiniteDuration delay) -
messages
-
source
-
sink
-
echoClient
-
upgrade
-
res
-