Package

sttp.ws

testing

Permalink

package testing

Visibility
  1. Public
  2. All

Type Members

  1. class WebSocketStub[S] extends AnyRef

    Permalink

    A stub for websockets that uses a queue of frames which are returned when the client calls WebSocket.receive.

    A stub for websockets that uses a queue of frames which are returned when the client calls WebSocket.receive.

    New messages can be added to queue in reaction to WebSocket.send being invoked, by specifying the behavior using one of the thenRespond variants.

    For more complex cases, please provide your own implementation of WebSocket.

Value Members

  1. object WebSocketStub

    Permalink

Ungrouped