1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
node-bhttp/test-timeout.coffee

7 lines
221 B
CoffeeScript

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")