Table of Contents

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 UrlRequest

The intercepted UrlRequest instance to bind the job with.

options UrlRequestJobOptions

The options which are used to initialize the UrlRequestJob

Returns

UrlRequestJob

A new UrlRequestJob instance.

Exceptions

ObjectDisposedException

The INetwork object has already been disposed.