blob: cec68f1fc307f1170c7315c946488557af4a6be6 (
plain) (
tree)
|
|
OkHttp backend
==============
To use, add the following dependency to your project::
"com.softwaremill.sttp" %% "okhttp-backend" % "1.1.4"
// or, for the monix version:
"com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.1.4"
This backend depends on `OkHttp <http://square.github.io/okhttp/>`_, and offers:
* a **synchronous** backend: ``OkHttpSyncBackend``
* an **asynchronous**, ``Future``-based backend: ``OkHttpFutureBackend``
* an **asynchronous**, Monix-``Task``-based backend: ``OkHttpMonixBackend``
OkHttp fully supports HTTP/2.
|