diff options
Diffstat (limited to 'lib/webrick/https.rb')
| -rw-r--r-- | lib/webrick/https.rb | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/lib/webrick/https.rb b/lib/webrick/https.rb index abb428451f..9194f9411c 100644 --- a/lib/webrick/https.rb +++ b/lib/webrick/https.rb @@ -15,8 +15,28 @@ module WEBrick HTTP.update(SSL) end + ## + #-- + # Adds SSL functionality to WEBrick::HTTPRequest + class HTTPRequest - attr_reader :cipher, :server_cert, :client_cert + + ## + # HTTP request SSL cipher + + attr_reader :cipher + + ## + # HTTP request server certificate + + attr_reader :server_cert + + ## + # HTTP request client certificate + + attr_reader :client_cert + + # :stopdoc: alias orig_parse parse @@ -60,5 +80,7 @@ module WEBrick end meta end + + # :startdoc: end end |
