CoreTweet  2.0.0-beta.2
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

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

Properties

string ApiUrl = "https://api.twitter.com" [get, set]
 Gets or sets the URL of REST API. More...
 
string UploadUrl = "https://upload.twitter.com" [get, set]
 Gets or sets the URL of upload API. More...
 
string UserStreamUrl = "https://userstream.twitter.com" [get, set]
 Gets or sets the URL of User Streams API. More...
 
string SiteStreamUrl = "https://sitestream.twitter.com" [get, set]
 Gets or sets the URL of Site Streams API. More...
 
string StreamUrl = "https://stream.twitter.com" [get, set]
 Gets or sets the URL of Public Streams API. More...
 
string ApiVersion [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 = true [get, set]
 Gets or sets a value that indicates whether the handler uses a proxy for requests. More...
 
IWebProxy Proxy = null [get, set]
 Gets or sets the proxy information for the request. More...
 
string UserAgent = "CoreTweet" [get, set]
 Gets or sets the value of the User-agent HTTP header. More...
 
bool UseCompression = true [get, set]
 Gets or sets whether the compression is used on non-streaming requests. More...
 
bool UseCompressionOnStreaming = false [get, set]
 Gets or sets whether the compression is used on streaming requests. More...
 
bool DisableKeepAlive = true [get, set]
 Gets or sets whether Keep-Alive requests are disabled. More...
 

Detailed Description

Properties for requesting.

Member Function Documentation

◆ Clone()

ConnectionOptions 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

◆ ApiUrl

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

Gets or sets the URL of REST API.

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

◆ ApiVersion

string CoreTweet.ConnectionOptions.ApiVersion
getset

Gets or sets the version of the Twitter API.

Default: "1.1"

◆ DisableKeepAlive

bool CoreTweet.ConnectionOptions.DisableKeepAlive = true
getset

Gets or sets whether Keep-Alive requests are disabled.

◆ Proxy

IWebProxy CoreTweet.ConnectionOptions.Proxy = null
getset

Gets or sets the proxy information for the request.

◆ ReadWriteTimeout

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.

◆ SiteStreamUrl

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

Gets or sets the URL of Site Streams API.

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

◆ StreamUrl

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

Gets or sets the URL of Public Streams API.

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

◆ Timeout

int CoreTweet.ConnectionOptions.Timeout
getset

Gets or sets the time-out value in milliseconds.

◆ UploadUrl

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

Gets or sets the URL of upload API.

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

◆ UseCompression

bool CoreTweet.ConnectionOptions.UseCompression = true
getset

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

◆ UseCompressionOnStreaming

bool CoreTweet.ConnectionOptions.UseCompressionOnStreaming = false
getset

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

◆ UseProxy

bool CoreTweet.ConnectionOptions.UseProxy = true
getset

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

◆ UserAgent

string CoreTweet.ConnectionOptions.UserAgent = "CoreTweet"
getset

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

◆ UserStreamUrl

string CoreTweet.ConnectionOptions.UserStreamUrl = "https://userstream.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: