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-https-stream.coffee

8 lines
157 B
CoffeeScript

bhttp = require "./"
Promise = require "bluebird"
Promise.try ->
bhttp.get "https://google.com/"
.then (response) ->
console.log "Got response", response