diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/backends/akkahttp.rst | 2 | ||||
-rw-r--r-- | docs/backends/asynchttpclient.rst | 8 | ||||
-rw-r--r-- | docs/backends/okhttp.rst | 4 | ||||
-rw-r--r-- | docs/json.rst | 4 | ||||
-rw-r--r-- | docs/quickstart.rst | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/docs/backends/akkahttp.rst b/docs/backends/akkahttp.rst index 540d22c..1aab69c 100644 --- a/docs/backends/akkahttp.rst +++ b/docs/backends/akkahttp.rst @@ -5,7 +5,7 @@ akka-http backend To use, add the following dependency to your project:: - "com.softwaremill.sttp" %% "akka-http-backend" % "1.0.3" + "com.softwaremill.sttp" %% "akka-http-backend" % "1.0.4" This backend depends on `akka-http <http://doc.akka.io/docs/akka-http/current/scala/http/>`_. A fully **asynchronous** backend. Sending a request returns a response wrapped in a ``Future``. diff --git a/docs/backends/asynchttpclient.rst b/docs/backends/asynchttpclient.rst index 5f06b6c..26bf46a 100644 --- a/docs/backends/asynchttpclient.rst +++ b/docs/backends/asynchttpclient.rst @@ -3,13 +3,13 @@ async-http-client backend To use, add the following dependency to your project:: - "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.0.3" + "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.0.4" // or - "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.0.3" + "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.0.4" // or - "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.0.3" + "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.0.4" // or - "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.0.3" + "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.0.4" This backend depends on `async-http-client <https://github.com/AsyncHttpClient/async-http-client>`_. A fully **asynchronous** backend, which uses `Netty <http://netty.io>`_ behind the diff --git a/docs/backends/okhttp.rst b/docs/backends/okhttp.rst index cf50d9f..6099b17 100644 --- a/docs/backends/okhttp.rst +++ b/docs/backends/okhttp.rst @@ -3,9 +3,9 @@ OkHttp backend To use, add the following dependency to your project:: - "com.softwaremill.sttp" %% "okhttp-backend" % "1.0.3" + "com.softwaremill.sttp" %% "okhttp-backend" % "1.0.4" // or, for the monix version: - "com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.0.3" + "com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.0.4" This backend depends on `OkHttp <http://square.github.io/okhttp/>`_, and offers: diff --git a/docs/json.rst b/docs/json.rst index 2a10a4d..9e0081c 100644 --- a/docs/json.rst +++ b/docs/json.rst @@ -10,7 +10,7 @@ Circe JSON encoding of bodies and decoding of responses can be handled using `Circe <https://circe.github.io/circe/>`_ by the ``circe`` module. To use add the following dependency to your project:: - "com.softwaremill.sttp" %% "circe" % "1.0.3" + "com.softwaremill.sttp" %% "circe" % "1.0.4" This module adds a method to the request and a function that can be given to a request to decode the response to a specific object:: @@ -35,7 +35,7 @@ Json4s To encode and decode json using json4s-native, add the following dependency to your project:: - "com.softwaremill.sttp" %% "json4s" % "1.0.3" + "com.softwaremill.sttp" %% "json4s" % "1.0.4" Using this module it is possible to set request bodies and read response bodies as case classes, using the implicitly available ``org.json4s.Formats`` (which defaults to ``org.json4s.DefaultFormats``). diff --git a/docs/quickstart.rst b/docs/quickstart.rst index fe9fcba..8bc6f57 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -10,7 +10,7 @@ Using sbt The basic dependency which provides the API and the default synchronous backend is:: - "com.softwaremill.sttp" %% "core" % "1.0.3" + "com.softwaremill.sttp" %% "core" % "1.0.4" ``sttp`` is available for Scala 2.11 and 2.12, and requires Java 8. The core module has no transitive dependencies. @@ -19,7 +19,7 @@ Using Ammonite If you are an `Ammonite <http://ammonite.io>`_ user, you can quickly start experimenting with sttp by copy-pasting the following:: - import $ivy.`com.softwaremill.sttp::core:1.0.3` + import $ivy.`com.softwaremill.sttp::core:1.0.4` import com.softwaremill.sttp._ implicit val backend = HttpURLConnectionBackend() sttp.get(uri"http://httpbin.org/ip").send() |