Property | Type | Description | |
---|---|---|---|
Charset |
Method | Description | |
---|---|---|
AsyncHttpRequest ( string url ) : System |
构造
|
|
AsyncHttpRequest ( string url, Action |
构造
|
|
AsyncHttpRequest ( string url, |
构造
|
|
AsyncResponseCallback ( IAsyncResult asynchronousResult ) : void |
异步回调
|
|
Get ( Action |
GET请求
|
|
GetPostFileRequestStreamCallback ( IAsyncResult asynchronousResult ) : void |
获取POSTFILE流,并发送数据,调用回调
|
|
GetRequestStreamCallback ( IAsyncResult asynchronousResult ) : void |
获取POST流,并发送数据,调用回调
|
|
Post ( Action |
Post请求
|
|
PostFile ( Action |
Post请求,带图片
|
Method | Description | |
---|---|---|
Get ( ) : void |
GET请求
|
|
Post ( string contentType ) : void |
POST请求
|
public AsyncHttpRequest ( string url ) : System | ||
url | string | |
return | System |
public AsyncHttpRequest ( string url, Action |
||
url | string | |
func | Action |
|
charset | ||
return | System |
public AsyncHttpRequest ( string url, |
||
url | string | |
charset | ||
return | System |
public AsyncResponseCallback ( IAsyncResult asynchronousResult ) : void | ||
asynchronousResult | IAsyncResult | |
return | void |
public Get ( Action |
||
responseEnd | Action |
|
callback | Action |
|
return | void |
public GetPostFileRequestStreamCallback ( IAsyncResult asynchronousResult ) : void | ||
asynchronousResult | IAsyncResult | |
return | void |
public GetRequestStreamCallback ( IAsyncResult asynchronousResult ) : void | ||
asynchronousResult | IAsyncResult | |
return | void |
public Post ( Action |
||
responseEnd | Action |
|
callback | Action |
|
return | void |
public PostFile ( Action |
||
responseEnd | Action |
|
files | Files | |
callback | Action |
|
return | void |