diff options
author | adamw <adam@warski.org> | 2017-09-01 13:36:04 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-09-01 13:36:04 +0200 |
commit | caf69a9742bf6a8593208af30ec27b7006e91328 (patch) | |
tree | c2de3e35d0801d804fa2b01a6f8273dd8772adc2 | |
parent | 5177270b07330691a1af2224c867227d67be5145 (diff) | |
download | sttp-caf69a9742bf6a8593208af30ec27b7006e91328.tar.gz sttp-caf69a9742bf6a8593208af30ec27b7006e91328.tar.bz2 sttp-caf69a9742bf6a8593208af30ec27b7006e91328.zip |
Readme update
-rw-r--r-- | README.md | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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. |