C# Класс 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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Config() публичный Метод

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.
Результат System

Config() публичный Метод

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.
Результат System

Config() публичный Метод

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.
Результат System