From e7a466d769ea451fdfeb8ac2406167d5036c684f Mon Sep 17 00:00:00 2001 From: Joshua Mondragon Date: Fri, 3 Mar 2017 11:42:48 -0700 Subject: [PATCH] Added: Support for client certificates --- lib/restler.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/restler.js b/lib/restler.js index 74bd41f..88f2b28 100644 --- a/lib/restler.js +++ b/lib/restler.js @@ -79,6 +79,11 @@ function Request(uri, options) { method: this.options.method, headers: this.headers, rejectUnauthorized: this.options.rejectUnauthorized, + passphrase: this.options.passphrase, + pfx: this.options.pfx, + ca: this.options.ca, + key: this.options.key, + cert: this.options.cert, agent: this.options.agent });