Property SendUrlRequestHandler
- Namespace
- DotNetBrowser.Net
- Assembly
- DotNetBrowser.dll
SendUrlRequestHandler
Gets or sets a handler that is used when an HTTP request is about to occur. It can be used to override the requested URL and redirect the request to another location.
IHandler<SendUrlRequestParameters, SendUrlRequestResponse> SendUrlRequestHandler { get; set; }
Property Value
Remarks
Use the Override(string) method to override the requested URL.
Use the Continue() method to proceed without changes.
If exception occurs inside the handler, the default behavior will be applied - the Continue() method will be used.
Exceptions
- ObjectDisposedException
The INetwork object has already been disposed.