aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/com/softwaremill/sttp/SttpBackendOptions.scala9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/src/main/scala/com/softwaremill/sttp/SttpBackendOptions.scala b/core/src/main/scala/com/softwaremill/sttp/SttpBackendOptions.scala
index e515173..dbf64b2 100644
--- a/core/src/main/scala/com/softwaremill/sttp/SttpBackendOptions.scala
+++ b/core/src/main/scala/com/softwaremill/sttp/SttpBackendOptions.scala
@@ -39,7 +39,10 @@ object SttpBackendOptions {
val Default: SttpBackendOptions = SttpBackendOptions(30.seconds, None)
- def connectionTimeout(ct: FiniteDuration): SttpBackendOptions = Default.connectionTimeout(ct)
- def httpProxy(host: String, port: Int): SttpBackendOptions = Default.httpProxy(host, port)
- def socksProxy(host: String, port: Int): SttpBackendOptions = Default.socksProxy(host, port)
+ def connectionTimeout(ct: FiniteDuration): SttpBackendOptions =
+ Default.connectionTimeout(ct)
+ def httpProxy(host: String, port: Int): SttpBackendOptions =
+ Default.httpProxy(host, port)
+ def socksProxy(host: String, port: Int): SttpBackendOptions =
+ Default.socksProxy(host, port)
}