class Twitter::Streaming::Client
- Twitter::Streaming::Client
- Reference
- Object
Included Modules
Defined in:
twitter/streaming/client.crConstant Summary
-
HOST =
"stream.twitter.com"
Constructors
Instance Method Summary
- #access_token : String
- #access_token=(access_token : String)
- #access_token_secret : String
- #access_token_secret=(access_token_secret : String)
- #consumer_key : String
- #consumer_key=(consumer_key : String)
- #consumer_secret : String
- #consumer_secret=(consumer_secret : String)
- #get(path : String, params = {} of String => String, &)
- #http_client : HTTP::Client
- #http_client=(http_client : HTTP::Client)
- #post(path : String, form = {} of String => String, &)
- #user_agent : String | Nil
- #user_agent=(user_agent : String | Nil)
Instance methods inherited from module Twitter::Streaming::Statuses
filter(options = {} of String => String, &)
filter,
parse_result(json)
parse_result,
sample(options = {} of String => String, &)
sample
Constructor Detail
def self.new(consumer_key : String, consumer_secret : String, access_token : String, access_token_secret : String, user_agent : Nil | String = nil, connect_timeout : Time::Span | Nil = 30.seconds)
#