object FetchMonixBackend
- Companion
- class
class Object
trait Matchable
class Any
Value members
Concrete methods
def apply(fetchOptions: FetchOptions, customizeRequest: Request => Request): SttpBackend[[A] =>> Task[A], MonixStreams & WebSockets]
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.