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.

9 lines
266 B
CoffeeScript

request = require "request"
CombinedStream = require "./lib/combined-stream2.coffee"
str = require "stream"
stream = CombinedStream.create()
stream.append request("http://google.com/")
stream.append new Buffer("\nDONE!\n")
stream.pipe(new str.PassThrough).resume()