Skip to content

Instantly share code, notes, and snippets.

View smoitra87's full-sized avatar

Subhodeep Moitra smoitra87

View GitHub Profile
var sys = require('sys');
var http = require('http');
function MyClient() {
http.Client.call(this);
this.setRequestCtor(MyClientRequest);
this.testProp = 'myclient test prop';
}
sys.inherits(MyClient, http.Client);
MyClient.prototype.tester = function() { sys.puts(this.testProp); }
exports.MyClient = MyClient;