Dim Request As HttpWebRequest = WebRequest.Create("https://www.mysite.com/mysecurepage.php")
Request.Method = "POST"
Request.ContentType = "application/x-www-form-urlencoded"
Request.Proxy = New WebProxy("http://myproxy.com:8080");
Using writer As StreamWriter = New StreamWriter(Request.GetRequestStream())
writer.Write(params)
End Using
如果HttpWebRequest
通过代理服务器创建代理服务器,HTTP
而不是代理服务器HTTPS
(如上所述),是否可以实现SSL
与目标HTTPS
URL 的连接?