From caf69a9742bf6a8593208af30ec27b7006e91328 Mon Sep 17 00:00:00 2001 From: adamw Date: Fri, 1 Sep 2017 13:36:04 +0200 Subject: Readme update --- README.md | 12 ++++++++---- 1 file 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. -- cgit v1.2.3