点击或拖拽改变大小

NetworkWebApiBase 属性

NetworkWebApiBase 类型公开以下成员。

属性
  名称说明
公共属性Client
获取当前的HttpClinet的客户端
Get the current HttpClinet client
公共属性DefaultContentType
默认的内容类型,如果为空,则不进行设置操作。例如设置为 "text/plain", "application/json", "text/html" 等等。
The default content type, if it is empty, no setting operation will be performed. For example, set to "text/plain", "application/json", "text/html" and so on.
公共属性IpAddress
获取或设置远程服务器的IP地址
Gets or sets the IP address of the remote server
公共属性代码示例LogNet
组件的日志工具,支持日志记录,只要实例化后,当前网络的基本信息,就以DEBUG等级进行输出
The component's logging tool supports logging. As long as the instantiation of the basic network information, the output will be output at DEBUG
公共属性Password
获取或设置当前的密码
Get or set the current password
公共属性Port
获取或设置远程服务器的端口号信息
Gets or sets the port number information for the remote server
公共属性UseEncodingISO
获取或设置是否使用ISO的编码信息,默认为 False
Get or set whether to use ISO encoding information, the default is False
公共属性UseHttps
是否启用Https的协议访问,对于Https来说,端口号默认为 443
Whether to enable Https protocol access, for Https, the port number defaults to 443
公共属性UserName
获取或设置当前的用户名
Get or set the current username
Top
参见