用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
# QQLite.Framework.Tool.HttpItem 类 ## 语法 ~~~ public class HttpItem ~~~ ## 构造函数 | | 名称 | 说明 | | --- | --- | --- | | | [HttpItem](https://www.kancloud.cn/gxser1986/cqrobot/3016435) | | ## 属性 | | 名称 | 说明 | | --- | --- | --- | | | [URL](https://www.kancloud.cn/gxser1986/cqrobot/3016437) | 请求URL必须填写 | | | [Method](https://www.kancloud.cn/gxser1986/cqrobot/3016438) | 请求方式默认为GET方式,当为POST方式时必须设置Postdata的值 | | | [xMethod](https://www.kancloud.cn/gxser1986/cqrobot/3016439) | 请求方式默认为GET方式,当为POST方式时必须设置Postdata的值 | | | [Timeout](https://www.kancloud.cn/gxser1986/cqrobot/3016440) | 默认请求超时时间 | | | [ReadWriteTimeout](https://www.kancloud.cn/gxser1986/cqrobot/3016441) | 默认写入Post数据超时间 | | | [Host](https://www.kancloud.cn/gxser1986/cqrobot/3016442) | 设置Host的标头信息 | | | [KeepAlive](https://www.kancloud.cn/gxser1986/cqrobot/3016443) | 获取或设置一个值,该值指示是否与 Internet 资源建立持久性连接默认为true。 | | | [Accept](https://www.kancloud.cn/gxser1986/cqrobot/3016444) | 请求标头值 默认为text/html, application/xhtml+xml, \*/\* | | | [ContentType](https://www.kancloud.cn/gxser1986/cqrobot/3016445) | 请求返回类型默认 text/html | | | [UserAgent](https://www.kancloud.cn/gxser1986/cqrobot/3016446) | 客户端访问信息默认Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0) | | | [Encoding](https://www.kancloud.cn/gxser1986/cqrobot/3016447) | 返回数据编码默认为NUll,可以自动识别,一般为utf-8,gbk,gb2312 | | | [PostDataType](https://www.kancloud.cn/gxser1986/cqrobot/3016448) | Post的数据类型 | | | [Postdata](https://www.kancloud.cn/gxser1986/cqrobot/3016449) | Post请求时要发送的字符串Post数据 | | | [PostdataByte](https://www.kancloud.cn/gxser1986/cqrobot/3025162) | Post请求时要发送的Byte类型的Post数据 | | | [CookieCollection](https://www.kancloud.cn/gxser1986/cqrobot/3016450) | Cookie对象集合 | | | [Cookie](https://www.kancloud.cn/gxser1986/cqrobot/3016451) | 请求时的Cookie | | | [CookieList](https://www.kancloud.cn/gxser1986/cqrobot/3016452) | CookieList | | | [Referer](https://www.kancloud.cn/gxser1986/cqrobot/3016453) | 来源地址,上次访问地址 | | | [CerPath](https://www.kancloud.cn/gxser1986/cqrobot/3016454) | 证书绝对路径 | | | [WebProxy](https://www.kancloud.cn/gxser1986/cqrobot/3016455) | 设置代理对象,不想使用IE默认配置就设置为Null,而且不要设置ProxyIp | | | [IsToLower](https://www.kancloud.cn/gxser1986/cqrobot/3016456) | 是否设置为全文小写,默认为不转化 | | | [Allowautoredirect](https://www.kancloud.cn/gxser1986/cqrobot/3016457) | 支持跳转页面,查询结果将是跳转后的页面,默认是不跳转 | | | [Connectionlimit](https://www.kancloud.cn/gxser1986/cqrobot/3016458) | 最大连接数 | | | [ProxyUserName](https://www.kancloud.cn/gxser1986/cqrobot/3016459) | 代理Proxy 服务器用户名 | | | [ProxyPwd](https://www.kancloud.cn/gxser1986/cqrobot/3016460) | 代理 服务器密码 | | | [ProxyIp](https://www.kancloud.cn/gxser1986/cqrobot/3016461) | 代理 服务IP,如果要使用IE代理就设置为ieproxy | | | [ResultType](https://www.kancloud.cn/gxser1986/cqrobot/3016462) | 设置返回类型String和Byte | | | [Header](https://www.kancloud.cn/gxser1986/cqrobot/3016463) | header对象 | | | [ProtocolVersion](https://www.kancloud.cn/gxser1986/cqrobot/3016464) | 获取或设置用于请求的 HTTP 版本。返回结果:用于请求的 HTTP 版本。默认为 System.Net.HttpVersion.Version11。 | | | [Expect100Continue](https://www.kancloud.cn/gxser1986/cqrobot/3016465) | 获取或设置一个 System.Boolean 值,该值确定是否使用 100-Continue 行为。如果 POST 请求需要 100-Continue 响应,则为 true;否则为 false。默认值为 true。 | | | [ClentCertificates](https://www.kancloud.cn/gxser1986/cqrobot/3016466) | 设置509证书集合 | | | [PostEncoding](https://www.kancloud.cn/gxser1986/cqrobot/3016467) | 设置或获取Post参数编码,默认的为Default编码 | | | [ResultCookieType](https://www.kancloud.cn/gxser1986/cqrobot/3016468) | Cookie返回类型,默认的是只返回字符串类型 | | | [ICredentials](https://www.kancloud.cn/gxser1986/cqrobot/3016469) | 获取或设置请求的身份验证信息。 | | | [MaximumAutomaticRedirections](https://www.kancloud.cn/gxser1986/cqrobot/3016470) | 设置请求将跟随的重定向的最大数目 | | | [IfModifiedSince](https://www.kancloud.cn/gxser1986/cqrobot/3016471) | 获取和设置IfModifiedSince,默认为当前日期和时间 | | | [IPEndPoint](https://www.kancloud.cn/gxser1986/cqrobot/3016472) | 设置本地的出口ip和端口 |