C# Class myGengo.Api

Afficher le fichier Open project: gengo/spGengo

Protected Properties

Свойство Type Description
DEFAULT_ID string
_apiKey string
_baseUrl string
_defaultJobId string
_format string
_privateKey string
_proxy System.Net.WebProxy
client Client
response System.Net.HttpWebResponse

Méthodes publiques

Méthode Description
Api ( ) : System
Api ( string api_key, string private_key ) : System
ToString ( ) : string
factory ( string client ) : Api
factory ( string client, string api_key, string private_key ) : Api
getResponseBody ( ) : string
getResponseStream ( ) : Stream
setBaseUrl ( string url ) : void
setResponseFormat ( string format ) : void

Méthodes protégées

Méthode Description
checkResponse ( ) : void
setParams ( object &id, string &format, IDictionary &param ) : void
setParamsNotId ( string &format, IDictionary &param ) : void

Method Details

Api() public méthode

public Api ( ) : System
Résultat System

Api() public méthode

public Api ( string api_key, string private_key ) : System
api_key string
private_key string
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

checkResponse() protected méthode

protected checkResponse ( ) : void
Résultat void

factory() public static méthode

public static factory ( string client ) : Api
client string
Résultat Api

factory() public static méthode

public static factory ( string client, string api_key, string private_key ) : Api
client string
api_key string
private_key string
Résultat Api

getResponseBody() public méthode

public getResponseBody ( ) : string
Résultat string

getResponseStream() public méthode

public getResponseStream ( ) : Stream
Résultat Stream

setBaseUrl() public méthode

public setBaseUrl ( string url ) : void
url string
Résultat void

setParams() protected méthode

protected setParams ( object &id, string &format, IDictionary &param ) : void
id object
format string
param IDictionary
Résultat void

setParamsNotId() protected méthode

protected setParamsNotId ( string &format, IDictionary &param ) : void
format string
param IDictionary
Résultat void

setResponseFormat() public méthode

public setResponseFormat ( string format ) : void
format string
Résultat void

Property Details

DEFAULT_ID protected_oe property

protected string DEFAULT_ID
Résultat string

_apiKey protected_oe property

protected string _apiKey
Résultat string

_baseUrl protected_oe property

protected string _baseUrl
Résultat string

_defaultJobId protected_oe property

protected string _defaultJobId
Résultat string

_format protected_oe property

protected string _format
Résultat string

_privateKey protected_oe property

protected string _privateKey
Résultat string

_proxy protected_oe property

protected WebProxy,System.Net _proxy
Résultat System.Net.WebProxy

client protected_oe property

protected Client,myGengo client
Résultat Client

response protected_oe property

protected HttpWebResponse,System.Net response
Résultat System.Net.HttpWebResponse