Table of Contents

Class Intercept

Namespace
OpenQA.Selenium.BiDi.Modules.Network
Assembly
WebDriver.dll
public class Intercept : IAsyncDisposable
Inheritance
Intercept
Implements
Inherited Members

Properties

OnAuthRequiredSubscriptions

protected IList<Subscription> OnAuthRequiredSubscriptions { get; }

Property Value

IList<Subscription>

OnBeforeRequestSentSubscriptions

protected IList<Subscription> OnBeforeRequestSentSubscriptions { get; }

Property Value

IList<Subscription>

OnResponseStartedSubscriptions

protected IList<Subscription> OnResponseStartedSubscriptions { get; }

Property Value

IList<Subscription>

Methods

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

public ValueTask DisposeAsync()

Returns

ValueTask

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

OnAuthRequiredAsync(Func<AuthRequiredEventArgs, Task>, SubscriptionOptions?)

public Task OnAuthRequiredAsync(Func<AuthRequiredEventArgs, Task> handler, SubscriptionOptions? options = null)

Parameters

handler Func<AuthRequiredEventArgs, Task>
options SubscriptionOptions

Returns

Task

OnBeforeRequestSentAsync(Func<BeforeRequestSentEventArgs, Task>, SubscriptionOptions?)

public Task OnBeforeRequestSentAsync(Func<BeforeRequestSentEventArgs, Task> handler, SubscriptionOptions? options = null)

Parameters

handler Func<BeforeRequestSentEventArgs, Task>
options SubscriptionOptions

Returns

Task

OnResponseStartedAsync(Func<ResponseStartedEventArgs, Task>, SubscriptionOptions?)

public Task OnResponseStartedAsync(Func<ResponseStartedEventArgs, Task> handler, SubscriptionOptions? options = null)

Parameters

handler Func<ResponseStartedEventArgs, Task>
options SubscriptionOptions

Returns

Task

RemoveAsync()

public Task RemoveAsync()

Returns

Task