Class Intercept
public class Intercept : IAsyncDisposable
- Inheritance
-
Intercept
- Implements
- Inherited Members
Properties
OnAuthRequiredSubscriptions
protected IList<Subscription> OnAuthRequiredSubscriptions { get; }
Property Value
OnBeforeRequestSentSubscriptions
protected IList<Subscription> OnBeforeRequestSentSubscriptions { get; }
Property Value
OnResponseStartedSubscriptions
protected IList<Subscription> OnResponseStartedSubscriptions { get; }
Property Value
Methods
DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
public ValueTask DisposeAsync()
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
OnAuthRequiredAsync(Func<AuthRequiredEventArgs, Task>, SubscriptionOptions?)
public Task OnAuthRequiredAsync(Func<AuthRequiredEventArgs, Task> handler, SubscriptionOptions? options = null)
Parameters
handler
Func<AuthRequiredEventArgs, Task>options
SubscriptionOptions
Returns
OnBeforeRequestSentAsync(Func<BeforeRequestSentEventArgs, Task>, SubscriptionOptions?)
public Task OnBeforeRequestSentAsync(Func<BeforeRequestSentEventArgs, Task> handler, SubscriptionOptions? options = null)
Parameters
handler
Func<BeforeRequestSentEventArgs, Task>options
SubscriptionOptions
Returns
OnResponseStartedAsync(Func<ResponseStartedEventArgs, Task>, SubscriptionOptions?)
public Task OnResponseStartedAsync(Func<ResponseStartedEventArgs, Task> handler, SubscriptionOptions? options = null)
Parameters
handler
Func<ResponseStartedEventArgs, Task>options
SubscriptionOptions
Returns
RemoveAsync()
public Task RemoveAsync()