test-timeout.coffee 221 Bytes Raw Blame History Permalink 1 2 3 4 5 6 bhttp = require "./" console.log "make request" bhttp.get("http://dead.dns.entry/asdfasdgasdg", responseTimeout: 4000) bhttp.get("http://cryto.net", responseTimeout: 4000) bhttp.get("http://dead.dns.entry/asdfasdgasdg")