Resetproxy method (NotesHTTPRequest - LotusScript)

Reset proxy was set in previous Setproxy call. After call Resetproxy, the upcoming request will not use proxy.

Defined in

NotesHTTPrequest

Syntax

Call NotesHTTPRequest.Resetproxy()

Example

Dim webRequest as NotesHTTPRequest
Set webRequest = NotesSession.CreateHTTPRequest()
Set webRequest = NotesSession.CreateHTTPRequest()
Call webRequest.Setproxy("http:\\proxy.com", 3128)
Call webRequest.Setproxyuser("pxuser", "psswd")
Call webRequest.get(URL$) 'This request will go through proxy server
Call webRequest.Resetproxy()
Call webRequest.get(URL$) 'This request will not go through proxy server