diff options
author | adamw <adam@warski.org> | 2017-09-04 17:08:15 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-09-04 17:08:15 +0200 |
commit | 8645462c608412f05f6010e528e36644c26262e6 (patch) | |
tree | 8ca81f230e8cc165b54e02b27963f6c405439296 /README.md | |
parent | 4b80827ff2aebcf1d88fb55f74f82a1c62075b71 (diff) | |
download | sttp-0.0.11.tar.gz sttp-0.0.11.tar.bz2 sttp-0.0.11.zip |
Setting version to 0.0.11v0.0.11
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -59,7 +59,7 @@ If you are an [Ammonite](http://ammonite.io) user, you can quickly start experimenting with sttp by copy-pasting the following: ```scala -import $ivy.`com.softwaremill.sttp::core:0.0.10` +import $ivy.`com.softwaremill.sttp::core:0.0.11` import com.softwaremill.sttp._ implicit val handler = HttpURLConnectionHandler sttp.get(uri"http://httpbin.org/ip").send() @@ -70,7 +70,7 @@ sttp.get(uri"http://httpbin.org/ip").send() SBT dependency: ```scala -"com.softwaremill.sttp" %% "core" % "0.0.10" +"com.softwaremill.sttp" %% "core" % "0.0.11" ``` `sttp` is available for Scala 2.11 and 2.12, and requires Java 7 if using an `OkHttp` based backend, or Java 8 otherwise. The core @@ -222,7 +222,7 @@ implicit val sttpHandler = HttpURLConnectionHandler To use, add the following dependency to your project: ```scala -"com.softwaremill.sttp" %% "akka-http-handler" % "0.0.10" +"com.softwaremill.sttp" %% "akka-http-handler" % "0.0.11" ``` This handler depends on [akka-http](http://doc.akka.io/docs/akka-http/current/scala/http/). @@ -281,13 +281,13 @@ val response: Future[Response[Source[ByteString, Any]]] = To use, add the following dependency to your project: ```scala -"com.softwaremill.sttp" %% "async-http-client-handler-future" % "0.0.10" +"com.softwaremill.sttp" %% "async-http-client-handler-future" % "0.0.11" // or -"com.softwaremill.sttp" %% "async-http-client-handler-scalaz" % "0.0.10" +"com.softwaremill.sttp" %% "async-http-client-handler-scalaz" % "0.0.11" // or -"com.softwaremill.sttp" %% "async-http-client-handler-monix" % "0.0.10" +"com.softwaremill.sttp" %% "async-http-client-handler-monix" % "0.0.11" // or -"com.softwaremill.sttp" %% "async-http-client-handler-cats" % "0.0.10" +"com.softwaremill.sttp" %% "async-http-client-handler-cats" % "0.0.11" ``` This handler depends on [async-http-client](https://github.com/AsyncHttpClient/async-http-client). @@ -369,9 +369,9 @@ val response: Task[Response[Observable[ByteBuffer]]] = To use, add the following dependency to your project: ```scala -"com.softwaremill.sttp" %% "okhttp-handler" % "0.0.10" +"com.softwaremill.sttp" %% "okhttp-handler" % "0.0.11" // or, for the monix version: -"com.softwaremill.sttp" %% "okhttp-handler-monix" % "0.0.10" +"com.softwaremill.sttp" %% "okhttp-handler-monix" % "0.0.11" ``` This handler depends on [OkHttp](http://square.github.io/okhttp/), and offers: @@ -399,7 +399,7 @@ JSON encoding of bodies and decoding of responses can be handled using add the following dependency to your project: ```scala -"com.softwaremill.sttp" %% "circe" % "0.0.10" +"com.softwaremill.sttp" %% "circe" % "0.0.11" ``` This module adds a method to the request and a function that can be given to |