...
Key | Required | Possible Values | Notes |
---|---|---|---|
keepalivestream | No | true, false | This parameter is used to keep the connected client to this stream alive by sending the carriage return new line feed ‘\n’ character every 30 seconds. This parameter is most useful when the volume on this stream is very low. The default value is false means no carriage return characters will be sent. |
rollback | No | positive integer | This parameter is used to re-read data messages that has been read before, if these messages are still falling in the 24 hours window. For example, if a user wants to re-read the last 1000 data messages this parameter should be set to a 1000. Redundant messages consumed won’t be counted against quota for Sina Weibo 2.0. The default value is 0 means reading from the stream will continue at the last message that has not been acknowledged. |
usebuffer | No | true,false | This parameter is used to skip messages collected in the buffer, if any, when user reconnects after a disconnect. When usebuffer is false, that means skip reading from the buffer and read only the new data that arrives to the end point after establishing the connection. When usebuffer is set to true (default), that means send all messages in the buffer, starting after the last acknowledged message. |
...