NetworkWebApiBase 方法 |
NetworkWebApiBase 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| AddRequestHeaders |
针对请求的头信息进行额外的处理,可以重写用来实现一些特殊的信息添加到请求头中
| |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
| Get |
使用GET操作从网络中获取到数据信息,地址
| |
| GetAsync |
使用GET操作从网络中获取到数据信息,地址
| |
| GetHashCode | Serves as the default hash function. (继承自 Object。) | |
| GetType | Gets the Type of the current instance. (继承自 Object。) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
| Post |
使用POST命令去提交数据内容,然后返回相关的数据信息
| |
| PostAsync |
使用POST命令去提交数据内容,然后返回相关的数据信息
| |
| ToString | Returns a string that represents the current object. (重写 ObjectToString.) |
| 名称 | 说明 | |
|---|---|---|
| ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |