Sha256: 4d7cfc6c74e8957c377dc6f5697d5877fdd96673f47308604c911e6ef63ae048
Contents?: true
Size: 332 Bytes
Versions: 74
Compression:
Stored size: 332 Bytes
Contents
var http = require('../../'); http.get({ path : '/beep' }, function (res) { var div = document.getElementById('result'); div.innerHTML += 'GET /beep<br>'; res.on('data', function (buf) { div.innerHTML += buf; }); res.on('end', function () { div.innerHTML += '<br>__END__'; }); });
Version data entries
74 entries across 72 versions & 5 rubygems