FetchMonixBackend

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(fetchOptions: FetchOptions, customizeRequest: Request => Request): SttpBackend[Task, MonixStreams & WebSockets]
def stub: SttpBackendStub[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 SttpBackendStub for details on how to configure stub responses.