aboutsummaryrefslogtreecommitdiff
path: root/akka-http-handler
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-07-28 15:28:15 +0200
committeradamw <adam@warski.org>2017-07-28 15:28:15 +0200
commitdf1fff3b2c2f8a0a7cbc3c2101c810358ec49920 (patch)
treead4aeaf6942e718a1722e226741d14552e9e7bd8 /akka-http-handler
parent8c7945ea87371d02906b84c45dc2d3b92f815306 (diff)
downloadsttp-df1fff3b2c2f8a0a7cbc3c2101c810358ec49920.tar.gz
sttp-df1fff3b2c2f8a0a7cbc3c2101c810358ec49920.tar.bz2
sttp-df1fff3b2c2f8a0a7cbc3c2101c810358ec49920.zip
Using a custom URI class
Diffstat (limited to 'akka-http-handler')
-rw-r--r--akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala3
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)