WSProbe

org.apache.pekko.http.scaladsl.testkit.WSProbe$
See theWSProbe companion trait
object WSProbe

Attributes

Companion
trait
Source
WSProbe.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
WSProbe.type

Members list

Value members

Concrete methods

def apply(maxChunks: Int, maxChunkCollectionMills: Long)(implicit system: ActorSystem, materializer: Materializer): WSProbe

Creates a WSProbe to use in tests against websocket handlers.

Creates a WSProbe to use in tests against websocket handlers.

Value parameters

maxChunkCollectionMills

The maximum time in milliseconds to collect chunks for streamed messages.

maxChunks

The maximum number of chunks to collect for streamed messages.

Attributes

Source
WSProbe.scala