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

Version Path
smock-0.1.212 node_modules/webpack/node_modules/node-libs-browser/node_modules/http-browserify/example/get/main.js
smock-0.1.211 node_modules/webpack/node_modules/node-libs-browser/node_modules/http-browserify/example/get/main.js
smock-0.1.210 node_modules/webpack/node_modules/node-libs-browser/node_modules/http-browserify/example/get/main.js
smock-0.1.209 node_modules/webpack/node_modules/node-libs-browser/node_modules/http-browserify/example/get/main.js
smock-0.1.208 node_modules/webpack/node_modules/node-libs-browser/node_modules/http-browserify/example/get/main.js
snowball-0.1.22 node_modules/browserify/node_modules/http-browserify/example/get/main.js
sprockets-browserify-0.3.0 node_modules/browserify/node_modules/http-browserify/example/get/main.js
sprockets-browserify-0.2.0 node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/get/main.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/get/main.js
ruby-wisp-source-0.7.0 vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/get/main.js
sprockets-browserify-0.1.2 node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/get/main.js
sprockets-browserify-0.1.2 node_modules/browserify/node_modules/http-browserify/example/get/main.js
sprockets-browserify-0.1.0 node_modules/module-deps/node_modules/browser-resolve/node_modules/http-browserify/example/get/main.js
sprockets-browserify-0.1.0 node_modules/browserify/node_modules/http-browserify/example/get/main.js