CoreTweet  0.7.0
Yet another .NET Twitter Library
Static Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
CoreTweet.Streaming.StreamingMessage Class Referenceabstract

Represents a streaming message. This class is an abstract class. More...

Inheritance diagram for CoreTweet.Streaming.StreamingMessage:
CoreTweet.Core.CoreBase CoreTweet.Streaming.ControlMessage CoreTweet.Streaming.DirectMessageMessage CoreTweet.Streaming.DisconnectMessage CoreTweet.Streaming.EnvelopesMessage CoreTweet.Streaming.EventMessage CoreTweet.Streaming.FriendsMessage CoreTweet.Streaming.RawJsonMessage CoreTweet.Streaming.TimestampMessage

Static Public Member Functions

static StreamingMessage Parse (string x)
 Converts the JSON to a StreamingMessage object. More...
 
- Static Public Member Functions inherited from CoreTweet.Core.CoreBase
static T Convert< T > (string json, string jsonPath="")
 Converts the JSON to a twitter object of the specified type. More...
 
static List< T > ConvertArray< T > (string json, string jsonPath)
 

Public Attributes

MessageType Type => this.GetMessageType()
 Gets the type of the message. More...
 

Protected Member Functions

abstract MessageType GetMessageType ()
 Gets the type of the message. More...
 

Properties

string Json [get, set]
 Gets or sets the raw JSON. More...
 

Detailed Description

Represents a streaming message. This class is an abstract class.

Member Function Documentation

abstract MessageType CoreTweet.Streaming.StreamingMessage.GetMessageType ( )
protectedpure virtual
static StreamingMessage CoreTweet.Streaming.StreamingMessage.Parse ( string  x)
inlinestatic

Converts the JSON to a StreamingMessage object.

Parameters
xThe JSON value.
Returns
The StreamingMessage object.

Member Data Documentation

MessageType CoreTweet.Streaming.StreamingMessage.Type => this.GetMessageType()

Gets the type of the message.

Property Documentation

string CoreTweet.Streaming.StreamingMessage.Json
getset

Gets or sets the raw JSON.


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