ProxyUser
Proxy 驗證的使用者名稱。
語法
HTTPObject.ProxyUser
其中:
ProxyUser
是字串(讀/寫)
範例
該指令碼將執行 GET 要求,並列印傳回代碼。 將使用者名稱和密碼設定為 LanGuard
:
Function Main
Dim HTTPObj as Object
ip = "www.gfi.com"
port = 80
Set HTTPobj = HTTP.Connect (ip,port)
'設定要求類型
HTTPobj.GetURL("/")
HTTPobj.ProxyUser = "LanGuard_test"
HTTPobj.Proxypassword = "LanGuard_test"
'傳送 GET 要求
HTTPResponse = HTTPobj.SendRequest ()
echo HTTPobj.Body
End Function