blob: 87964a9b3d7bc922bee44aacb836e8e86a7ae793 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
OkHttp backend
==============
To use, add the following dependency to your project::
"com.softwaremill.sttp" %% "okhttp-backend" % "1.1.9"
// or, for the monix version:
"com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.1.9"
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.
|