doc: HTTPS client's options

pull/5370/head
koichik 2011-09-14 23:48:42 +09:00
parent e7f64a7d41
commit 244675cab1
1 changed files with 2 additions and 0 deletions

View 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
};