Permalink
Browse files

expose the ability to get the underlying stream

  • Loading branch information...
1 parent 5a2daca commit be123c7cc09af9f123710ceb2119f4758fb38f9f @Raynos committed Aug 16, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 browser.js
View
5 browser.js
@@ -38,6 +38,7 @@ function reconnecter(uri, options) {
proxy.createStream = createStream
proxy.createWriteStream = createWriteStream
proxy.createReadStream = createReadStream
+ proxy.getStream = getStream
// Open the initial connection
createShoeStream()
@@ -176,6 +177,10 @@ function reconnecter(uri, options) {
, readable: true
})
}
+
+ function getStream() {
+ return stream
+ }
}
function pause(details) {

0 comments on commit be123c7

Please sign in to comment.