Interface WebSocketRouteTester


public interface WebSocketRouteTester
  • 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

      WebSocketRouteTester.WsConnection<akka.util.ByteString> wsBinaryConnection(String path)
      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