blob: b786e49a12a9fe164034b65b8c9d09746f315452 (
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, SttpHandler}
import scala.language.higherKinds
trait TestStreamingHandler[R[_], S] {
implicit def handler: SttpHandler[R, S]
implicit def forceResponse: ForceWrappedValue[R]
def bodyProducer(body: String): S
def bodyConsumer(stream: S): R[String]
}
|