CoreTweet  0.7.0
Yet another .NET Twitter Library
Public Member Functions | Static Public Member Functions | Properties | List of all members
CoreTweet.Streaming.StreamingParameters Class Reference

Represents the parameters for the Twitter Streaming API. More...

Public Member Functions

 StreamingParameters (params Expression< Func< string, object >>[] streamingParameters)
 
 StreamingParameters (IEnumerable< KeyValuePair< string, object >> streamingParameters)
 Initializes a new instance of the StreamingParameters class with a specified option. More...
 

Static Public Member Functions

static StreamingParameters Create< T > (T streamingParameters)
 Initializes a new instance of the StreamingParameters class with a specified option. More...
 

Properties

List< KeyValuePair< string, object > > Parameters [get]
 Gets the raw parameters. More...
 

Detailed Description

Represents the parameters for the Twitter Streaming API.

Constructor & Destructor Documentation

CoreTweet.Streaming.StreamingParameters.StreamingParameters ( params Expression< Func< string, object >>[]  streamingParameters)
inline

Initializes a new instance of the StreamingParameters class with a specified option.

Available parameters:

*Note: In filter stream, at least one predicate parameter (follow, locations, or track) must be specified.

bool stall_warnings (optional)" : Specifies whether stall warnings should be delivered.

string / IEnumerable<long> follow (optional*, required in site stream, ignored in user stream)

string / IEnumerable<string> track (optional*)

string / IEnumerable<string> location (optional*)

string with (optional)

Parameters
streamingParametersThe streaming parameters.
CoreTweet.Streaming.StreamingParameters.StreamingParameters ( IEnumerable< KeyValuePair< string, object >>  streamingParameters)
inline

Initializes a new instance of the StreamingParameters class with a specified option.

Parameters
streamingParametersThe streaming parameters.

Member Function Documentation

static StreamingParameters CoreTweet.Streaming.StreamingParameters.Create< T > ( streamingParameters)
inlinestatic

Initializes a new instance of the StreamingParameters class with a specified option.

Parameters
streamingParametersThe streaming parameters.

Property Documentation

List<KeyValuePair<string, object> > CoreTweet.Streaming.StreamingParameters.Parameters
get

Gets the raw parameters.


The documentation for this class was generated from the following file: