Skip to content

Instantly share code, notes, and snippets.

var http = require('http');
var agent = http.getAgent('127.0.0.1', 8124);
agent.maxSockets = 10;
var server = http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.write('Hello World\n');
//res.end();
});
<?php
class Foo {
public function tested() {
return true;
}
public function untested() {
return true;
}
}