找回密码
 加入
搜索
查看: 4015|回复: 4

[网络通信] winhttp 是支持 https呀

[复制链接]
发表于 2011-5-25 15:39:56 | 显示全部楼层 |阅读模式
本帖最后由 txxdhnt 于 2011-5-25 16:24 编辑

winhttp 是支持 https呀


; 指定连接到
Global $hConnect = _WinHttpConnect($hOpen, "https://www.***.com.cn/login.jsp") ; <- 在这里写入你的连接

出错呀


WinHTTP 5.1 Features
The following features have been added in version 5.1 of WinHTTP:

IPv6 support.
AutoProxy capabilities.
HTTP/1.0 protocol, including support for keep-alive (persistent) connections and session cookies.
HTTP/1.1 chunked transfer support for HTTP responses.
Keep-alive pooling of anonymous connections across sessions.
Secure Sockets Layer (SSL) functionality, including client certificates. Supported SSL protocols include the following: SSL 2.0, SSL 3.0, and Transport Layer Security (TLS) 1.0. Support for server and proxy authentication, including integrated support for Microsoft Passport 1.4 and the Negotiate/ Kerberos package.
Automatic handling of redirects unless suppressed.
Scriptable interface in addition to the API.
Trace utility to help troubleshoot problems.
发表于 2011-5-25 16:03:43 | 显示全部楼层
httpsk?https好像需要用别的,http好像打不开
 楼主| 发表于 2011-5-25 21:47:33 | 显示全部楼层
本帖最后由 txxdhnt 于 2011-5-25 22:12 编辑

有高手知道吗?


这个方法 可以试试
_WinHttpConnect($hSession, $sServerName , $INTERNET_DEFAULT_HTTPS_PORT )

备 注

$iServerPort 可以通过 $INTERNET_DEFAULT_PORT, $INTERNET_DEFAULT_HTTP_PORT 或 $INTERNET_DEFAULT_HTTPS_PORT 定义全局常量
发表于 2011-5-26 00:46:26 | 显示全部楼层
winHTTP当然支持HTTPs...不明白的搜我的udf
发表于 2011-5-26 08:28:39 | 显示全部楼层
回复 4# republican

不好意思,一时没找到   
#Include <WinHTTP.au3>
*SSLRequest
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-14 14:30 , Processed in 0.084499 second(s), 22 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表