CoreTweet  0.9.0
Yet another .NET Twitter Library
Protected Member Functions | Properties | List of all members
CoreTweet.Streaming.DisconnectMessage Class Reference

Represents the message published when Twitter disconnects the stream. More...

Inheritance diagram for CoreTweet.Streaming.DisconnectMessage:
CoreTweet.Streaming.StreamingMessage CoreTweet.Core.CoreBase

Protected Member Functions

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

Properties

DisconnectCode Code [get, set]
 Gets or sets the disconnect code. More...
 
string StreamName [get, set]
 Gets or sets the stream name of current stream. More...
 
string Reason [get, set]
 Gets or sets the human readable message of the reason. More...
 
- Properties inherited from CoreTweet.Streaming.StreamingMessage
string Json [get, set]
 Gets or sets the raw JSON. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreTweet.Streaming.StreamingMessage
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 inherited from CoreTweet.Streaming.StreamingMessage
MessageType Type => this.GetMessageType()
 Gets the type of the message. More...
 

Detailed Description

Represents the message published when Twitter disconnects the stream.

Member Function Documentation

◆ GetMessageType()

override MessageType CoreTweet.Streaming.DisconnectMessage.GetMessageType ( )
inlineprotectedvirtual

Gets the type of the message.

Returns
The type of the message.

Implements CoreTweet.Streaming.StreamingMessage.

Property Documentation

◆ Code

DisconnectCode CoreTweet.Streaming.DisconnectMessage.Code
getset

Gets or sets the disconnect code.

◆ Reason

string CoreTweet.Streaming.DisconnectMessage.Reason
getset

Gets or sets the human readable message of the reason.

◆ StreamName

string CoreTweet.Streaming.DisconnectMessage.StreamName
getset

Gets or sets the stream name of current stream.


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