InterceptorOptions Class
Axios.Net › AxiosNet.Interceptors
Options of a single interceptor.
public sealed class InterceptorOptions
Inheritance System.Object → InterceptorOptions
Properties
InterceptorOptions.RunWhen Property
Request interceptors only: the interceptor is skipped when this returns false.
public System.Func<AxiosNet.Config.AxiosRequestConfig,bool>? RunWhen { get; set; }
Property Value
System.Func<AxiosRequestConfig,System.Boolean>
InterceptorOptions.Synchronous Property
Run without yielding to the scheduler. If such a request interceptor throws, its rejection handler is called and the remaining request interceptors are skipped; when the handler returns normally the request is still dispatched with the last valid config.
public bool Synchronous { get; set; }