class Twitter::Streaming::Client

Included Modules

Defined in:

twitter/streaming/client.cr

Constant Summary

HOST = "stream.twitter.com"

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def access_token : String #

[View source]
def access_token=(access_token : String) #

[View source]
def access_token_secret : String #

[View source]
def access_token_secret=(access_token_secret : String) #

[View source]
def consumer_key : String #

[View source]
def consumer_key=(consumer_key : String) #

[View source]
def consumer_secret : String #

[View source]
def consumer_secret=(consumer_secret : String) #

[View source]
def get(path : String, params = {} of String => String, &) #

[View source]
def http_client : HTTP::Client #

[View source]
def http_client=(http_client : HTTP::Client) #

[View source]
def post(path : String, form = {} of String => String, &) #

[View source]
def user_agent : String | Nil #

[View source]
def user_agent=(user_agent : String | Nil) #

[View source]