diff options
author | adamw <adam@warski.org> | 2017-09-07 09:23:14 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-09-07 09:23:14 +0200 |
commit | 04f697f0b2016e9bdfa93eced3a48bb7d6e04a69 (patch) | |
tree | dc57e8c17818305bc595b678d71900f0ddd2a943 /async-http-client-handler/fs2/src/main | |
parent | 3c85a4a5acf7197c1822d4b6339168e36cf1b853 (diff) | |
download | sttp-04f697f0b2016e9bdfa93eced3a48bb7d6e04a69.tar.gz sttp-04f697f0b2016e9bdfa93eced3a48bb7d6e04a69.tar.bz2 sttp-04f697f0b2016e9bdfa93eced3a48bb7d6e04a69.zip |
Reformat
Diffstat (limited to 'async-http-client-handler/fs2/src/main')
-rw-r--r-- | async-http-client-handler/fs2/src/main/scala/com/softwaremill/sttp/asynchttpclient/fs2/AsyncHttpClientFs2Handler.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/async-http-client-handler/fs2/src/main/scala/com/softwaremill/sttp/asynchttpclient/fs2/AsyncHttpClientFs2Handler.scala b/async-http-client-handler/fs2/src/main/scala/com/softwaremill/sttp/asynchttpclient/fs2/AsyncHttpClientFs2Handler.scala index a33932b..1462951 100644 --- a/async-http-client-handler/fs2/src/main/scala/com/softwaremill/sttp/asynchttpclient/fs2/AsyncHttpClientFs2Handler.scala +++ b/async-http-client-handler/fs2/src/main/scala/com/softwaremill/sttp/asynchttpclient/fs2/AsyncHttpClientFs2Handler.scala @@ -64,7 +64,8 @@ object AsyncHttpClientFs2Handler { * e.g. mapping responses. Defaults to the global execution * context. */ - def apply[F[_]: Effect](connectionTimeout: FiniteDuration = SttpHandler.DefaultConnectionTimeout)( + def apply[F[_]: Effect](connectionTimeout: FiniteDuration = + SttpHandler.DefaultConnectionTimeout)( implicit ec: ExecutionContext = ExecutionContext.Implicits.global) : SttpHandler[F, Stream[F, ByteBuffer]] = AsyncHttpClientFs2Handler[F]( |