diff options
author | adamw <adam@warski.org> | 2017-07-28 16:39:08 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-28 16:39:08 +0200 |
commit | 6a0eb34f33d05a945f3c05c5d0763bbabe7c726d (patch) | |
tree | bc2982a2410ba90d3327a0f073113fdda18258b3 | |
parent | 651af891813001c517c5c821b6b75fb13ca252b5 (diff) | |
download | sttp-6a0eb34f33d05a945f3c05c5d0763bbabe7c726d.tar.gz sttp-6a0eb34f33d05a945f3c05c5d0763bbabe7c726d.tar.bz2 sttp-6a0eb34f33d05a945f3c05c5d0763bbabe7c726d.zip |
Supported streams table
-rw-r--r-- | README.md | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -175,6 +175,16 @@ uri"$scheme://$subdomains.example.com?x=$vx&$params#$jumpTo" ## Supported backends +### Summary + +| Class (`com.softwaremill.sttp.`) | Result wrapper | Supported stream type | +| --- | --- | --- | +| `HttpURLConnectionSttpHandler` | None (`Id`) | - | +| `akkahttp.AkkaHttpSttpHandler` | `scala.concurrent.Future` | `akka.stream.scaladsl.Source[ByteString, Any]` | +| `asynchttpclient.future.FutureAsyncHttpClientHandler` | `scala.concurrent.Future` | - | +| `asynchttpclient.scalaz..ScalazAsyncHttpClientHandler` | `scalaz.concurrent.Task` | - | +| `asynchttpclient.monix.MonixAsyncHttpClientHandler` | `monix.eval.Task` | `monix.reactive.Observable[ByteBuffer]` | + ### `HttpURLConnectionSttpHandler` The default **synchronous** handler. Sending a request returns a response wrapped @@ -368,7 +378,7 @@ There are two type aliases for the request template that are used: ## TODO * multi-part uploads -* scalaz/monix/fs2 streaming +* scalaz/fs2 streaming * proxy support * connection options, SSL * *your API improvement idea here* |