wreck
Advanced tools
Comparing version 12.4.0 to 12.5.0
@@ -171,2 +171,6 @@ 'use strict'; | ||
if (options.ciphers !== undefined) { | ||
uri.ciphers = options.ciphers; | ||
} | ||
this.emit('request', uri, options); | ||
@@ -173,0 +177,0 @@ |
{ | ||
"name": "wreck", | ||
"description": "HTTP Client Utilities", | ||
"version": "12.4.0", | ||
"version": "12.5.0", | ||
"repository": "git://github.com/hapijs/wreck", | ||
@@ -6,0 +6,0 @@ "main": "lib/index", |
@@ -83,3 +83,4 @@ ![wreck Logo](https://raw.github.com/hapijs/wreck/master/images/wreck.png) | ||
agent: null, // Node Core http.Agent | ||
secureProtocol: 'SSLv3_method' // The SSL method to use | ||
secureProtocol: 'SSLv3_method', // The SSL method to use | ||
ciphers: 'DES-CBC3-SHA' // The TLS ciphers to support | ||
}; | ||
@@ -146,2 +147,5 @@ | ||
for possible [SSL_METHODS](http://www.openssl.org/docs/ssl/ssl.html#DEALING_WITH_PROTOCOL_METHODS). | ||
- `ciphers` - [TLS](https://nodejs.org/api/tls.html#tls_modifying_the_default_tls_cipher_suite) list of TLS ciphers to override node's default. | ||
The possible values depend on your installation of OpenSSL. Read the official OpenSSL docs | ||
for possible [TLS_CIPHERS](https://www.openssl.org/docs/man1.0.2/apps/ciphers.html#CIPHER-LIST-FORMAT). | ||
- `callback` - The optional callback function using the signature `function (err, response)` where: | ||
@@ -148,0 +152,0 @@ - `err` - Any error that may have occurred during the handling of the request. |
44069
503
390