Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
doc: HTTPS client's options
Browse files Browse the repository at this point in the history
  • Loading branch information
koichik committed Sep 14, 2011
1 parent e7f64a7 commit 244675c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/https.markdown
Expand Up @@ -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);

Expand All @@ -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
};

Expand Down

0 comments on commit 244675c

Please sign in to comment.