public class WSProbe$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static WSProbe$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
WSProbe$() |
Modifier and Type | Method and Description |
---|---|
WSProbe |
create(org.apache.pekko.actor.ActorSystem system,
org.apache.pekko.stream.Materializer materializer) |
WSProbe |
create(org.apache.pekko.actor.ActorSystem system,
org.apache.pekko.stream.Materializer materializer,
int maxChunks,
long maxChunkCollectionMills)
Creates a WSProbe to use in tests against websocket handlers.
|
public static final WSProbe$ MODULE$
public WSProbe create(org.apache.pekko.actor.ActorSystem system, org.apache.pekko.stream.Materializer materializer)
public WSProbe create(org.apache.pekko.actor.ActorSystem system, org.apache.pekko.stream.Materializer materializer, int maxChunks, long maxChunkCollectionMills)
maxChunks
- The maximum number of chunks to collect for streamed messages.maxChunkCollectionMills
- The maximum time in milliseconds to collect chunks for streamed messages.system
- (undocumented)materializer
- (undocumented)