Метод | Описание | |
---|---|---|
CheckUrlAndToken ( string url, string token, int timeOut = 2000 ) : bool |
使用GET请求测试URL和TOKEN是否可用
|
|
RequestResponseMessage ( this messageHandler, string url, string token, Stream stream, int timeOut = AGENT_TIME_OUT ) : IResponseMessageBase |
获取ResponseMessge结果
|
|
RequestResponseMessage ( this messageHandler, string url, string token, string xml, int timeOut = AGENT_TIME_OUT ) : IResponseMessageBase |
获取ResponseMessge结果
|
|
RequestWeiWeiHiXml ( this messageHandler, string weiweihiKey, string xml, string weiweihiDomainName = "www.weiweihi.com", int timeOut = AGENT_TIME_OUT ) : string |
对接Souidea(P2P)平台,获取Xml结果,使用WeiWeiHiKey对接 WeiWeiHiKey的获取方式请看:
|
|
RequestWeiweihiResponseMessage ( this messageHandler, string weiweihiKey, |
获取Souidea开放平台的ResponseMessge结果
|
|
RequestWeiweihiResponseMessage ( this messageHandler, string weiweihiKey, System.Xml.Linq.XDocument document, string weiweihiDomainName = "www.weiweihi.com", int timeOut = AGENT_TIME_OUT ) : IResponseMessageBase |
获取Souidea开放平台的ResponseMessge结果
|
|
RequestWeiweihiResponseMessage ( this messageHandler, string weiweihiKey, string xml, string weiweihiDomainName = "www.weiweihi.com", int timeOut = AGENT_TIME_OUT ) : IResponseMessageBase |
获取微微嗨(前Souidea)开放平台的ResponseMessge结果
|
|
RequestXml ( this messageHandler, string url, string token, Stream stream, bool useWeiWeiHiKey = false, int timeOut = AGENT_TIME_OUT ) : string |
获取Xml结果。
|
|
RequestXml ( this messageHandler, string url, string token, string xml, int timeOut = AGENT_TIME_OUT ) : string |
获取Xml结果
|
public static CheckUrlAndToken ( string url, string token, int timeOut = 2000 ) : bool | ||
url | string | |
token | string | |
timeOut | int | 代理请求超时时间(毫秒) |
Результат | bool |
public static RequestResponseMessage ( this messageHandler, string url, string token, Stream stream, int timeOut = AGENT_TIME_OUT ) : IResponseMessageBase | ||
messageHandler | this | |
url | string | |
token | string | |
stream | Stream | |
timeOut | int | 代理请求超时时间(毫秒) |
Результат | IResponseMessageBase |
public static RequestResponseMessage ( this messageHandler, string url, string token, string xml, int timeOut = AGENT_TIME_OUT ) : IResponseMessageBase | ||
messageHandler | this | |
url | string | |
token | string | |
xml | string | |
timeOut | int | 代理请求超时时间(毫秒) |
Результат | IResponseMessageBase |
public static RequestWeiWeiHiXml ( this messageHandler, string weiweihiKey, string xml, string weiweihiDomainName = "www.weiweihi.com", int timeOut = AGENT_TIME_OUT ) : string | ||
messageHandler | this | |
weiweihiKey | string | |
xml | string | |
weiweihiDomainName | string | |
timeOut | int | 代理请求超时时间(毫秒) |
Результат | string |
public static RequestWeiweihiResponseMessage ( this messageHandler, string weiweihiKey, |
||
messageHandler | this | |
weiweihiKey | string | |
requestMessage | ||
weiweihiDomainName | string | |
timeOut | int | 代理请求超时时间(毫秒) |
Результат | IResponseMessageBase |
public static RequestWeiweihiResponseMessage ( this messageHandler, string weiweihiKey, System.Xml.Linq.XDocument document, string weiweihiDomainName = "www.weiweihi.com", int timeOut = AGENT_TIME_OUT ) : IResponseMessageBase | ||
messageHandler | this | |
weiweihiKey | string | |
document | System.Xml.Linq.XDocument | |
weiweihiDomainName | string | |
timeOut | int | 代理请求超时时间(毫秒) |
Результат | IResponseMessageBase |
public static RequestWeiweihiResponseMessage ( this messageHandler, string weiweihiKey, string xml, string weiweihiDomainName = "www.weiweihi.com", int timeOut = AGENT_TIME_OUT ) : IResponseMessageBase | ||
messageHandler | this | |
weiweihiKey | string | |
xml | string | |
weiweihiDomainName | string | |
timeOut | int | 代理请求超时时间(毫秒) |
Результат | IResponseMessageBase |
public static RequestXml ( this messageHandler, string url, string token, Stream stream, bool useWeiWeiHiKey = false, int timeOut = AGENT_TIME_OUT ) : string | ||
messageHandler | this | |
url | string | |
token | string | |
stream | Stream | |
useWeiWeiHiKey | bool | 是否使用WeiWeiHiKey,如果使用,则token为WeiWeiHiKey |
timeOut | int | 代理请求超时时间(毫秒) |
Результат | string |
public static RequestXml ( this messageHandler, string url, string token, string xml, int timeOut = AGENT_TIME_OUT ) : string | ||
messageHandler | this | |
url | string | |
token | string | |
xml | string | |
timeOut | int | 代理请求超时时间(毫秒) |
Результат | string |