blob: 5fc1c574111f7f026bd88090fc9425f087cc203d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package com.softwaremill.sttp.streaming
import com.softwaremill.sttp.{ForceWrappedValue, SttpBackend}
import scala.language.higherKinds
trait TestStreamingBackend[R[_], S] {
implicit def backend: SttpBackend[R, S]
implicit def forceResponse: ForceWrappedValue[R]
def bodyProducer(body: String): S
def bodyConsumer(stream: S): R[String]
}
|