WebRequestExecutor 成员
Provides an abstract class to issue a Web request to the server and get a response from the server.
WebRequestExecutor 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
WebRequestExecutor | Initializes a new instance of the WebRequestExecutor class. |
页首
属性
名称 | 说明 | |
---|---|---|
RequestContentType | Gets or sets the content type of the current HTTP request. | |
RequestHeaders | Gets the headers of the request that will be sent to the server. | |
RequestKeepAlive | Gets a flag that indicates whether the request keeps the connection to the server alive. | |
RequestMethod | Gets or sets the method of the request. | |
ResponseContentType | Gets the content type of the response. | |
ResponseHeaders | Gets the headers of the response. | |
StatusCode | Gets the status of the response. | |
WebRequest | Gets the current HTTP request that will be sent to the server. |
页首
方法
名称 | 说明 | |
---|---|---|
Dispose | Releases the resources used by the WebRequestExecutor. | |
Execute | Issues the request to the server. | |
GetRequestStream | Gets the request stream. | |
GetResponseStream | Gets the response stream from the server. | |
ToString | (从 Object 继承。) |
页首