Method CreateUrlRequestJob
- Namespace
- DotNetBrowser.Net
- Assembly
- DotNetBrowser.dll
CreateUrlRequestJob(UrlRequest, UrlRequestJobOptions)
Creates a new UrlRequestJob instance with the given options
.
The URL request job is used to provide the response data for the intercepted URL request.
UrlRequestJob CreateUrlRequestJob(UrlRequest request, UrlRequestJobOptions options = null)
Parameters
request
UrlRequestThe intercepted UrlRequest instance to bind the job with.
options
UrlRequestJobOptionsThe options which are used to initialize the UrlRequestJob
Returns
- UrlRequestJob
A new UrlRequestJob instance.
Exceptions
- ObjectDisposedException
The INetwork object has already been disposed.