Description
-
Fires when server redirects us to new URL.
Syntax
-
Private Sub
object_Redirect(URL,
Allow)
The Redirect Event syntax has these parts:
| object |
A wodHttpDLX
object. |
| URL |
A String value. New URL where
is wodHttpDLX redirected. |
| Allow |
A Boolean value. When
set to False, wodHttpDLX will not follow redirection. |
Remarks
-
Redirect event is fired only if
AutoRedirect
property is set to True. When server returns redirection
response (StatusCode
301 or 302) when wodHttpDLX follows redirection to new URL. But, at
this point you are allowed to change URL provided by the
server (so you actually redirect wodHttpDLX to completely different
address), or you can deny redirection by setting Allow =
False.
|