Expect completion on the input side of the flow.
Expect a binary message on the input side of the flow and compares its payload with the given one.
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 text message on the input side of the flow and compares its payload with the given one.
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 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.
The underlying probe for the ingoing side of this probe.
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 outgoing side of this probe.
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.
Complete the output side of the flow.
Send a binary message containing the given bytes out of the flow.
Send a text message containing the given string out of the flow.
Send the given messages out of the flow.
A WSProbe is a probe that implements a
Flow[Message, Message, Unit]
for testing websocket code.Requesting elements is handled automatically.