Gnip.Client.Config.Config C# (CSharp) Method

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
        public Config(string username, string password)
        {
            this.Username = username;
            this.Password = password;
            this.GnipServer = DEFAULT_SERVER_URL;
            this.RequestTimeout = DEFAULT_REQUEST_TIMEOUT_SECONDS * 1000;
            this.ReadWriteTimeout = DEFAULT_READ_TIMEOUT_SECONDS * 1000;
        }

Same methods

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