Sha256: bea4d83cee4b4f6dee08a125b399c34180eeed422640997267dbdfe17b51da03
Contents?: true
Size: 403 Bytes
Versions: 109
Compression:
Stored size: 403 Bytes
Contents
var sys = require('util'); var XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest; var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function() { sys.puts("State: " + this.readyState); if (this.readyState == 4) { sys.puts("Complete.\nBody length: " + this.responseText.length); sys.puts("Body:\n" + this.responseText); } }; xhr.open("GET", "http://driverdan.com"); xhr.send();
Version data entries
109 entries across 109 versions & 6 rubygems