doc: HTTPS client's options
authorkoichik <koichik@improvement.jp>
Wed, 14 Sep 2011 14:48:42 +0000 (23:48 +0900)
committerkoichik <koichik@improvement.jp>
Wed, 14 Sep 2011 14:48:42 +0000 (23:48 +0900)
doc/api/https.markdown

index e2854bc..be21af6 100644 (file)
@@ -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
     };