aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-09-01 13:36:04 +0200
committeradamw <adam@warski.org>2017-09-01 13:36:04 +0200
commitcaf69a9742bf6a8593208af30ec27b7006e91328 (patch)
treec2de3e35d0801d804fa2b01a6f8273dd8772adc2 /README.md
parent5177270b07330691a1af2224c867227d67be5145 (diff)
downloadsttp-caf69a9742bf6a8593208af30ec27b7006e91328.tar.gz
sttp-caf69a9742bf6a8593208af30ec27b7006e91328.tar.bz2
sttp-caf69a9742bf6a8593208af30ec27b7006e91328.zip
Readme update
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/README.md b/README.md
index 090257f..2041248 100644
--- a/README.md
+++ b/README.md
@@ -357,12 +357,16 @@ val response: Task[Response[Observable[ByteBuffer]]] =
To use, add the following dependency to your project:
```scala
-"com.softwaremill.sttp" %% "okhttp-client-handler" % "0.0.9"
+"com.softwaremill.sttp" %% "okhttp-handler" % "0.0.9"
+// or, for the monix version:
+"com.softwaremill.sttp" %% "okhttp-handler-monix" % "0.0.9"
```
-This handler depends on [OkHttp](http://square.github.io/okhttp/), and offers
-both a **synchronous** (`OkHttpSyncHandler`) and **asynchronous**
-(`OkHttpFutureHandler`), `Future`-based handlers.
+This handler depends on [OkHttp](http://square.github.io/okhttp/), and offers:
+
+* a **synchronous** handler: `OkHttpSyncHandler`
+* an **asynchronous**, `Future`-based handler: `OkHttpFutureHandler`
+* an **asynchronous**, Monix-`Task`-based handler: `OkHttpMonixHandler`
OkHttp fully supports HTTP/2.