Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: bacac05def
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (21 sloc) 0.456 kB

You will need:

  • node.js source code
  • v8 source code
  • libcurl development package

Building:

node-waf configure && node-waf build

Copy Generated library to current directory:

cp build/default/curllib.node .

Run the test.js file:

node test.js

Using:

// Test GET request
var req = http_sync.request({
    host: 'nodejs.org', 
    path: '/'
});

var res = req.end();
console.log(res);
console.log(res.body.toString());
Jump to Line
Something went wrong with that request. Please try again.