Zum Hauptinhalt springen

AxiosInterceptors Class

Axios.Net › AxiosNet.Interceptors

The request and response interceptor chains of a client.

public sealed class AxiosInterceptors

Inheritance System.Object → AxiosInterceptors

Properties​

AxiosInterceptors.Request Property​

Runs before sending, last registered first (LIFO). Return the (modified) config.

public AxiosNet.Interceptors.InterceptorManager<AxiosNet.Config.AxiosRequestConfig> Request { get; }

Property Value​

AxiosNet.Interceptors.InterceptorManager<AxiosRequestConfig>

AxiosInterceptors.Response Property​

Runs after the response (or error) arrives, first registered first (FIFO).

public AxiosNet.Interceptors.InterceptorManager<AxiosNet.Models.AxiosResponse> Response { get; }

Property Value​

AxiosNet.Interceptors.InterceptorManager<AxiosResponse>