FetchMonixBackend

sttp.client4.impl.monix.FetchMonixBackend
See theFetchMonixBackend companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(fetchOptions: FetchOptions, customizeRequest: Request => Request): WebSocketStreamBackend[Task, MonixStreams]
def stub: WebSocketStreamBackendStub[Task, MonixStreams]

Create a stub backend for testing, which uses the Task response wrapper, and supports Observable[ByteBuffer] streaming.

Create a stub backend for testing, which uses the Task response wrapper, and supports Observable[ByteBuffer] streaming.

See WebSocketStreamBackendStub for details on how to configure stub responses.

Attributes