sttp.client3.asynchttpclient.monix
AsyncHttpClientMonixBackend
Companion class AsyncHttpClientMonixBackend
object AsyncHttpClientMonixBackend
- Alphabetic
- By Inheritance
- AsyncHttpClientMonixBackend
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(options: SttpBackendOptions = SttpBackendOptions.Default, customizeRequest: (BoundRequestBuilder) ⇒ BoundRequestBuilder = identity, webSocketBufferCapacity: Option[Int] = ...)(implicit s: Scheduler = Scheduler.global): Task[SttpBackend[Task, MonixStreams with WebSockets]]
- s
The scheduler used for streaming request bodies. Defaults to the global scheduler.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
resource(options: SttpBackendOptions = SttpBackendOptions.Default, customizeRequest: (BoundRequestBuilder) ⇒ BoundRequestBuilder = identity, webSocketBufferCapacity: Option[Int] = ...)(implicit s: Scheduler = Scheduler.global): Resource[Task, SttpBackend[Task, MonixStreams with WebSockets]]
Makes sure the backend is closed after usage.
-
def
resourceUsingConfig(cfg: AsyncHttpClientConfig, customizeRequest: (BoundRequestBuilder) ⇒ BoundRequestBuilder = identity, webSocketBufferCapacity: Option[Int] = ...)(implicit s: Scheduler = Scheduler.global): Resource[Task, SttpBackend[Task, MonixStreams with WebSockets]]
Makes sure the backend is closed after usage.
-
def
resourceUsingConfigBuilder(updateConfig: (Builder) ⇒ Builder, options: SttpBackendOptions = SttpBackendOptions.Default, customizeRequest: (BoundRequestBuilder) ⇒ BoundRequestBuilder = identity, webSocketBufferCapacity: Option[Int] = ...)(implicit s: Scheduler = Scheduler.global): Resource[Task, SttpBackend[Task, MonixStreams with WebSockets]]
Makes sure the backend is closed after usage.
Makes sure the backend is closed after usage.
- updateConfig
A function which updates the default configuration (created basing on
options
).- s
The scheduler used for streaming request bodies. Defaults to the global scheduler.
-
def
stub: SttpBackendStub[Task, MonixStreams with 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.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
usingClient(client: AsyncHttpClient, customizeRequest: (BoundRequestBuilder) ⇒ BoundRequestBuilder = identity, webSocketBufferCapacity: Option[Int] = ...)(implicit s: Scheduler = Scheduler.global): SttpBackend[Task, MonixStreams with WebSockets]
- s
The scheduler used for streaming request bodies. Defaults to the global scheduler.
-
def
usingConfig(cfg: AsyncHttpClientConfig, customizeRequest: (BoundRequestBuilder) ⇒ BoundRequestBuilder = identity, webSocketBufferCapacity: Option[Int] = ...)(implicit s: Scheduler = Scheduler.global): Task[SttpBackend[Task, MonixStreams with WebSockets]]
- s
The scheduler used for streaming request bodies. Defaults to the global scheduler.
-
def
usingConfigBuilder(updateConfig: (Builder) ⇒ Builder, options: SttpBackendOptions = SttpBackendOptions.Default, customizeRequest: (BoundRequestBuilder) ⇒ BoundRequestBuilder = identity, webSocketBufferCapacity: Option[Int] = ...)(implicit s: Scheduler = Scheduler.global): Task[SttpBackend[Task, MonixStreams with WebSockets]]
- updateConfig
A function which updates the default configuration (created basing on
options
).- s
The scheduler used for streaming request bodies. Defaults to the global scheduler.
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated