diff options
Diffstat (limited to 'docs/conf/timeouts.rst')
-rw-r--r-- | docs/conf/timeouts.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf/timeouts.rst b/docs/conf/timeouts.rst index 72b2f4a..4c046bc 100644 --- a/docs/conf/timeouts.rst +++ b/docs/conf/timeouts.rst @@ -1,7 +1,7 @@ Timeouts ======== -Sttp supports read and connection timeouts: +sttp supports read and connection timeouts: * Connection timeout - can be set globally (30 seconds by default) * Read timeout - can be set per request (1 minute by default) @@ -11,7 +11,7 @@ How to use:: import com.softwaremill.sttp._ import scala.concurrent.duration._ - // all backends provide a constructor that allows users to specify backend options + // all backends provide a constructor that allows to specify backend options implicit val backend = HttpURLConnectionBackend( options = SttpBackendOptions.connectionTimeout(1.minute)) |