FetchBackend

sttp.client4.fetch.FetchBackend$
See theFetchBackend companion class
object FetchBackend

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)(implicit ec: ExecutionContext): WebSocketBackend[Future]
def stub(implicit ec: ExecutionContext): WebSocketBackendStub[Future]

Create a stub backend for testing, which uses the Future response wrapper.

Create a stub backend for testing, which uses the Future response wrapper.

See WebSocketBackendStub for details on how to configure stub responses.

Attributes