FetchZioBackend

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(fetchOptions: FetchOptions, customizeRequest: Request => Request): SttpBackend[Task, ZioStreams & WebSockets]
def stub: SttpBackendStub[Task, ZioStreams]

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.