README.md in sslcheck-0.9.5 vs README.md in sslcheck-0.9.6
- old
+ new
@@ -46,9 +46,21 @@
```
check.errors
=> []
```
+## Timeouts
+
+By default, connections to verify a certificate will timeout after 30 seconds. To
+change this behavior, specify your own timeout, in seconds, on the `SSLCheck::Client`
+class.
+
+```
+ SSLCheck::Client.timeout_seconds = 10 # A 10 second timeout
+ check = SSLCheck::Check.new
+ check.check("github.com")
+```
+
What are the details of the certificate?
The peer certificate found during the check is available with a rich
(undocumented) API. See `SSLCheck::Certificate` for more details. A helper
method is provided on the `Certificate` to get at most of the important details.