C# Class myGengo.Client

显示文件 Open project: gengo/spGengo Class Usage Examples

Public Properties

Property Type Description
DELETE string
GET string
POST string
PUT string

Protected Properties

Property Type Description
_proxy System.Net.WebProxy
client System.Net.HttpWebRequest
instance Client

Public Methods

Method Description
delete ( string url, string format, IDictionary param ) : HttpWebResponse
get ( string url, string format, IDictionary param ) : HttpWebResponse
getInstance ( ) : Client
post ( string url, string format, IDictionary param ) : HttpWebResponse
put ( string url, string format, IDictionary param ) : HttpWebResponse
request ( string url, string method, string format, IDictionary param ) : WebResponse

Method Details

delete() public method

public delete ( string url, string format, IDictionary param ) : HttpWebResponse
url string
format string
param IDictionary
return System.Net.HttpWebResponse

get() public method

public get ( string url, string format, IDictionary param ) : HttpWebResponse
url string
format string
param IDictionary
return System.Net.HttpWebResponse

getInstance() public static method

public static getInstance ( ) : Client
return Client

post() public method

public post ( string url, string format, IDictionary param ) : HttpWebResponse
url string
format string
param IDictionary
return System.Net.HttpWebResponse

put() public method

public put ( string url, string format, IDictionary param ) : HttpWebResponse
url string
format string
param IDictionary
return System.Net.HttpWebResponse

request() public method

public request ( string url, string method, string format, IDictionary param ) : WebResponse
url string
method string
format string
param IDictionary
return System.Net.WebResponse

Property Details

DELETE public_oe static_oe property

public static string DELETE
return string

GET public_oe static_oe property

public static string GET
return string

POST public_oe static_oe property

public static string POST
return string

PUT public_oe static_oe property

public static string PUT
return string

_proxy protected_oe property

protected WebProxy,System.Net _proxy
return System.Net.WebProxy

client protected_oe property

protected HttpWebRequest,System.Net client
return System.Net.HttpWebRequest

instance protected_oe static_oe property

protected static Client,myGengo instance
return Client