From 675e85813f2c2083f9b401fadbf1b56c144c986b Mon Sep 17 00:00:00 2001 From: "Daniel G. Taylor" Date: Wed, 15 May 2013 13:16:09 -0600 Subject: https: Add `secureProtocol` docs Add `secureProtocol` parameter docs to the https.request method. --- doc/api/https.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/api/https.markdown b/doc/api/https.markdown index 9efe2065ea..8f608b1a7a 100644 --- a/doc/api/https.markdown +++ b/doc/api/https.markdown @@ -126,6 +126,9 @@ The following options from [tls.connect()][] can also be specified. However, a the list of supplied CAs. An `'error'` event is emitted if verification fails. Verification happens at the connection level, *before* the HTTP request is sent. Default `true`. +- `secureProtocol`: The SSL method to use, e.g. `SSLv3_method` to force + SSL version 3. The possible values depend on your installation of + OpenSSL and are defined in the constant [SSL_METHODS][]. In order to specify these options, use a custom `Agent`. @@ -207,3 +210,4 @@ Global instance of [https.Agent][] for all HTTPS client requests. [https.request()]: #https_https_request_options_callback [tls.connect()]: tls.html#tls_tls_connect_options_callback [tls.createServer()]: tls.html#tls_tls_createserver_options_secureconnectionlistener +[SSL_METHODS]: http://www.openssl.org/docs/ssl/ssl.html#DEALING_WITH_PROTOCOL_METHODS -- cgit v1.2.1