C# Class Gnip.Client.Config

Configuration information for a {@link GnipConnection}. It supports basic settings for username, password, and URL of the Gnip service to connect to as well as advanced settings including an option to tunnel PUT and DELETE requests over POST and configuring network timeouts. The default connection URL is: https://prod.gnipcentral.com
Show file Open project: electromute/gnip-dotnet Class Usage Examples

Public Methods

Method Description
Config ( string username, string password ) : System

Create a Config} object with the specified username and password to the default Gnip server.

Config ( string username, string password, Uri gnipServer ) : System

Create a Config object to the Gnip server at the provided URL with the username and password credentials.

Config ( string username, string password, Uri gnipServer, int requestTimeout, int readWriteTimeout ) : System

Create a Config object to the Gnip server at the provided URL with the username and password credentials.

Method Details

Config() public method

Create a Config} object with the specified username and password to the default Gnip server.
public Config ( string username, string password ) : System
username string The username.
password string The password.
return System

Config() public method

Create a Config object to the Gnip server at the provided URL with the username and password credentials.
public Config ( string username, string password, Uri gnipServer ) : System
username string The username.
password string The password.
gnipServer System.Uri The gnip server to use.
return System

Config() public method

Create a Config object to the Gnip server at the provided URL with the username and password credentials.
public Config ( string username, string password, Uri gnipServer, int requestTimeout, int readWriteTimeout ) : System
username string The username.
password string The password.
gnipServer System.Uri The gnip server to use.
requestTimeout int The timeout used for obtaining an http request.
readWriteTimeout int The timeout used for reading and writing to a request.
return System