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

Properties for requesting. More...

Inheritance diagram for CoreTweet.ConnectionOptions:

Public Member Functions

object Clone ()
 Creates a new object that is a copy of the current instance. More...
 

Properties

string ApiUrl [get, set]
 Gets or sets the URL of REST API. More...
 
string UploadUrl = "https://api.twitter.com" [get, set]
 Gets or sets the URL of upload API. More...
 
string UserStreamUrl = "https://upload.twitter.com" [get, set]
 Gets or sets the URL of User Streams API. More...
 
string SiteStreamUrl = "https://userstream.twitter.com" [get, set]
 Gets or sets the URL of Site Streams API. More...
 
string StreamUrl = "https://sitestream.twitter.com" [get, set]
 Gets or sets the URL of Public Streams API. More...
 
string ApiVersion = "https://stream.twitter.com" [get, set]
 Gets or sets the version of the Twitter API. More...
 
int Timeout [get, set]
 Gets or sets the time-out value in milliseconds. More...
 
int ReadWriteTimeout [get, set]
 Gets or sets a time-out in milliseconds when writing to or reading from a stream. This value will be applied to only sync API methods. More...
 
bool UseProxy [get, set]
 Gets or sets a value that indicates whether the handler uses a proxy for requests. More...
 
string UserAgent = true [get, set]
 Gets or sets the value of the User-agent HTTP header. More...
 
bool UseCompression = "CoreTweet" [get, set]
 Gets or sets whether the compression is used on non-streaming requests. More...
 
bool UseCompressionOnStreaming = true [get, set]
 Gets or sets whether the compression is used on streaming requests. More...
 
bool DisableKeepAlive = false [get, set]
 Gets or sets whether Keep-Alive requests are disabled. More...
 

Detailed Description

Properties for requesting.

Member Function Documentation

object CoreTweet.ConnectionOptions.Clone ( )
inline

Creates a new object that is a copy of the current instance.

Returns
A new object that is a copy of this instance.

Property Documentation

string CoreTweet.ConnectionOptions.ApiUrl
getset

Gets or sets the URL of REST API.

Default: "https://api.twitter.com"

string CoreTweet.ConnectionOptions.ApiVersion = "https://stream.twitter.com"
getset

Gets or sets the version of the Twitter API.

Default: "1.1"

bool CoreTweet.ConnectionOptions.DisableKeepAlive = false
getset

Gets or sets whether Keep-Alive requests are disabled.

int CoreTweet.ConnectionOptions.ReadWriteTimeout
getset

Gets or sets a time-out in milliseconds when writing to or reading from a stream. This value will be applied to only sync API methods.

string CoreTweet.ConnectionOptions.SiteStreamUrl = "https://userstream.twitter.com"
getset

Gets or sets the URL of Site Streams API.

Default: "https://sitestream.twitter.com"

string CoreTweet.ConnectionOptions.StreamUrl = "https://sitestream.twitter.com"
getset

Gets or sets the URL of Public Streams API.

Default: "https://stream.twitter.com"

int CoreTweet.ConnectionOptions.Timeout
getset

Gets or sets the time-out value in milliseconds.

string CoreTweet.ConnectionOptions.UploadUrl = "https://api.twitter.com"
getset

Gets or sets the URL of upload API.

Default: "https://upload.twitter.com"

bool CoreTweet.ConnectionOptions.UseCompression = "CoreTweet"
getset

Gets or sets whether the compression is used on non-streaming requests.

bool CoreTweet.ConnectionOptions.UseCompressionOnStreaming = true
getset

Gets or sets whether the compression is used on streaming requests.

bool CoreTweet.ConnectionOptions.UseProxy
getset

Gets or sets a value that indicates whether the handler uses a proxy for requests.

string CoreTweet.ConnectionOptions.UserAgent = true
getset

Gets or sets the value of the User-agent HTTP header.

string CoreTweet.ConnectionOptions.UserStreamUrl = "https://upload.twitter.com"
getset

Gets or sets the URL of User Streams API.

Default: "https://userstream.twitter.com"


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