OkHttp backendΒΆ

To use, add the following dependency to your project:

"com.softwaremill.sttp" %% "okhttp-backend" % "1.1.14"
// or, for the monix version:
"com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.1.14"

This backend depends on 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.