OkHttpMonixBackend

sttp.client3.okhttp.monix.OkHttpMonixBackend$
See theOkHttpMonixBackend companion class

Attributes

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

Members list

Concise view

Value members

Concrete methods

def apply(options: SttpBackendOptions, customEncodingHandler: EncodingHandler, webSocketBufferCapacity: Option[Int])(implicit s: Scheduler): Task[SttpBackend[Task, MonixStreams & WebSockets]]
def resource(options: SttpBackendOptions, customEncodingHandler: EncodingHandler, webSocketBufferCapacity: Option[Int])(implicit s: Scheduler): Resource[Task, SttpBackend[Task, MonixStreams & WebSockets]]
def stub: SttpBackendStub[Task, 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.

Attributes

def usingClient(client: OkHttpClient, customEncodingHandler: EncodingHandler, webSocketBufferCapacity: Option[Int])(implicit s: Scheduler): SttpBackend[Task, MonixStreams & WebSockets]