Table of Contents

Method Intercept

Namespace
DotNetBrowser.Net.Handlers
Assembly
DotNetBrowser.dll

Intercept(UrlRequestJob)

Creates a InterceptRequestResponse instance indicating that the request should be intercepted.

public static InterceptRequestResponse Intercept(UrlRequestJob job)

Parameters

job UrlRequestJob

The UrlRequestJob providing data of the HTTP response that can be created using the CreateUrlRequestJob(UrlRequest, UrlRequestJobOptions) method.

Returns

InterceptRequestResponse

The InterceptRequestResponse instance that can be used as a return value in handler implementation.