diff options
author | adamw <adam@warski.org> | 2017-07-28 15:28:15 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-28 15:28:15 +0200 |
commit | df1fff3b2c2f8a0a7cbc3c2101c810358ec49920 (patch) | |
tree | ad4aeaf6942e718a1722e226741d14552e9e7bd8 /akka-http-handler/src/main | |
parent | 8c7945ea87371d02906b84c45dc2d3b92f815306 (diff) | |
download | sttp-df1fff3b2c2f8a0a7cbc3c2101c810358ec49920.tar.gz sttp-df1fff3b2c2f8a0a7cbc3c2101c810358ec49920.tar.bz2 sttp-df1fff3b2c2f8a0a7cbc3c2101c810358ec49920.zip |
Using a custom URI class
Diffstat (limited to 'akka-http-handler/src/main')
-rw-r--r-- | akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala b/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala index e4b2bf6..ee9a88f 100644 --- a/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala +++ b/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala @@ -192,8 +192,7 @@ object AkkaHttpSttpHandler { * e.g. mapping responses. Defaults to the global execution * context. */ - def apply()( - implicit ec: ExecutionContext = ExecutionContext.Implicits.global) + def apply()(implicit ec: ExecutionContext = ExecutionContext.Implicits.global) : SttpHandler[Future, Source[ByteString, Any]] = new AkkaHttpSttpHandler(ActorSystem("sttp"), ec, true) |