A WSProbe is a probe that implements a Flow[Message, Message, Unit]
for testing websocket code.
Requesting elements is handled automatically.
Attributes
- Companion
- object
- Source
- WSProbe.scala
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
Expect completion on the input side of the flow.
Expect a message on the input side of the flow.
Expect a text message on the input side of the flow and compares its payload with the given one. If the received message is streamed its contents are collected and then asserted against the given String.
Expect a text message on the input side of the flow and compares its payload with the given one. If the received message is streamed its contents are collected and then asserted against the given String.
Attributes
- Source
- WSProbe.scala
Expect a binary message on the input side of the flow and compares its payload with the given one. If the received message is streamed its contents are collected and then asserted against the given ByteString.
Expect a binary message on the input side of the flow and compares its payload with the given one. If the received message is streamed its contents are collected and then asserted against the given ByteString.
Attributes
- Source
- WSProbe.scala
Expect no message on the input side of the flow.
Expect no message on the input side of the flow for the given maximum duration.
Expect no message on the input side of the flow for the given maximum duration.
Attributes
- Source
- WSProbe.scala
The underlying probe for the ingoing side of this probe. Can be used if the methods on WSProbe don't allow fine enough control over the message flow.
The underlying probe for the ingoing side of this probe. Can be used if the methods on WSProbe don't allow fine enough control over the message flow.
Attributes
- Source
- WSProbe.scala
The underlying probe for the outgoing side of this probe. Can be used if the methods on WSProbe don't allow fine enough control over the message flow.
The underlying probe for the outgoing side of this probe. Can be used if the methods on WSProbe don't allow fine enough control over the message flow.
Attributes
- Source
- WSProbe.scala
Complete the output side of the flow.
Send the given messages out of the flow.
Send a text message containing the given string out of the flow.
Send a binary message containing the given bytes out of the flow.