Documentation of server_settings option for Issue 940

Documentation of server_settings option for Issue 940 with improved readability

Issue 940: Documentation of server_settings option

Issue 940: Documentation of server_settings option updated

Issue 940: Documentation of server_settings option
This commit is contained in:
Dan Rice 2017-10-26 14:48:36 -06:00
parent 89cbd96866
commit 775700447c
1 changed files with 5 additions and 0 deletions

View File

@ -2356,6 +2356,11 @@ set :protection, :session => true
priority, default depends on Ruby implementation.
</dd>
<dt>server_settings</dt>
<dd>
If you are using a WEBrick web server, presumably for your development environment, you can pass a hash of options to <tt>server_settings</tt>, such as <tt>SSLEnable</tt> or <tt>SSLVerifyClient</tt>. However, web servers such as Puma and Thin do not support this, so you can set <tt>server_settings</tt> by defining it as a method when you call <tt>configure</tt>.
</dd>
<dt>sessions</dt>
<dd>
Enable cookie-based sessions support using