Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

readme: document agent API

  • Loading branch information...
commit 66752e0cf5e42c34efafaba16eabc405347728b3 1 parent ecb68a8
@indutny authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 README.md
View
9 README.md
@@ -38,7 +38,14 @@ var http = require('http');
var agent = spdy.createAgent({
host: 'www.google.com',
- port: 443
+ port: 443,
+
+ // Optional SPDY options
+ spdy: {
+ plain: false or true,
+ ssl: false or true,
+ version: 3 // Will be used only when `plain` is `true`
+ }
});
http.get({
Please sign in to comment.
Something went wrong with that request. Please try again.