fennb/phirehose — pull request #17 by bryfox (2012-01-11 00:02:41+00:00)
Title: Refactor connect() method and allow "replies=all" param

Added a $consume_all_at_replies protected var to allow UserstreamPhirehose subclasses to add a "replies=all" param to the user stream request. This allows us to track @replies to the user.

Commit 9403d18 also does a bit of refactoring... I removed the connect_ouath and connect_basic method in favor of having the connect() method do all of the work since the two versions were nearly all duplicated code.

Note that I didn't test the Basic auth... as far as I can tell from twitter's docs, basic auth isn't supported by the user stream, but I left the functionality in (in case this isn't correct).