Click or drag to resize

INetworkCreateUrlRequestJob Method

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.

Namespace:  DotNetBrowser.Net
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.22.1
Syntax
C#
UrlRequestJob CreateUrlRequestJob(
	UrlRequest request,
	UrlRequestJobOptions options = null
)

Parameters

request
Type: DotNetBrowser.NetUrlRequest
The intercepted UrlRequest instance to bind the job with.
options (Optional)
Type: DotNetBrowser.Net.HandlersUrlRequestJobOptions
The options which are used to initialize the UrlRequestJob

Return Value

Type: UrlRequestJob
A new UrlRequestJob instance.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe INetwork object has already been disposed.
See Also