blob: faebf8be3ed85027692c6df10c4d9c7347ea2bf5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package com.softwaremill.sttp.streaming
import java.nio.ByteBuffer
import com.softwaremill.sttp.SttpBackend
import com.softwaremill.sttp.asynchttpclient.monix.AsyncHttpClientMonixBackend
import com.softwaremill.sttp.impl.monix.MonixTestStreamingBackend
import monix.eval.Task
import monix.reactive.Observable
class AsyncHttpClientMonixStreamingTests extends MonixTestStreamingBackend {
import monix.execution.Scheduler.Implicits.global
override implicit val backend: SttpBackend[Task, Observable[ByteBuffer]] =
AsyncHttpClientMonixBackend()
}
|