Package akka.javasdk.testkit
Interface WebSocketRouteTester
public interface WebSocketRouteTester
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionWebSocketRouteTester.WsConnection<akka.util.ByteString> wsBinaryConnection(String path) wsTextConnection(String path)
-
Method Details
-
wsTextConnection
- Parameters:
path- A path to a web socket endpoint in the service- Returns:
- A pair of test probes, TestPublisher.Probe for sending messages to the endpoint and TestSubscriber.Probe for expecting messages from the service
-
wsBinaryConnection
- Parameters:
path- A path to a web socket endpoint in the service- Returns:
- A pair of test probes, TestPublisher.Probe for sending messages to the endpoint and TestSubscriber.Probe for expecting messages from the service
-