This isn't implemented. I don't think we could, either, given our
server framework.

Create a new connection with the updated parameters. As soon as you
receive data from the new connection, close the old connection. Keep
the churn rate low, don't reconnect too often, and you should stay out
of the way of anti-abuse measures.

-John


On Jul 10, 3:58 pm, Cary Knoop <[email protected]> wrote:
> Is the following implemented or will it be implemented?
>
> I have two threads, one that writes HTTP post requests 
> tohttp://stream.twitter.com/track.jsonand one thread that reads the
> response from this request.  Can I, without breaking the response
> stream, update the track parameter list so that I can update my search
> query real time without any interruption or the response stream?
>
> So for example:
>
> 1. Pass a ("http://stream.twitter.com/track.json, "track="red")
> message to the Posting thread
> 2. The Response thread will now read the status changes containing the
> keyword red
> 3. Pass a ("http://stream.twitter.com/track.json, "track="blue")
> message to the Posting thread
> 4. The Response thread will now read the status changes containing the
> keyword red

Reply via email to