From 244675cab193746e9ed35b1973e8cd3b09b229de Mon Sep 17 00:00:00 2001 From: koichik Date: Wed, 14 Sep 2011 23:48:42 +0900 Subject: [PATCH] doc: HTTPS client's options --- doc/api/https.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/https.markdown b/doc/api/https.markdown index e2854bc733..be21af6458 100644 --- a/doc/api/https.markdown +++ b/doc/api/https.markdown @@ -86,6 +86,7 @@ Example: path: '/', method: 'GET', key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), + cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem') }; options.agent = new https.Agent(options); @@ -103,6 +104,7 @@ Example: path: '/', method: 'GET', key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), + cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), agent: false };