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

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
        public Config(string username, string password, Uri gnipServer, int requestTimeout, int readWriteTimeout)
        {
            this.Username = username;
            this.Password = password;
            this.GnipServer = gnipServer.ToString();
            this.RequestTimeout = requestTimeout;
            this.ReadWriteTimeout = readWriteTimeout;
        }

Same methods

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