AxiosParamsSerializer Class
Controls how Params are turned into a query string.
public class AxiosParamsSerializer
Inheritance System.Object → AxiosParamsSerializer
Properties
AxiosParamsSerializer.Encode Property
Encodes each key and value. Defaults to an encodeURIComponent-like encoder (space as +, keeps []:$,).
public System.Func<string,string>? Encode { get; set; }
Property Value
System.Func<System.String,System.String>
AxiosParamsSerializer.Indexes Property
Array format: null = a=1&a=2, false = a[]=1, true = a[0]=1.
public System.Nullable<bool> Indexes { get; set; }
Property Value
System.Nullable<System.Boolean>
AxiosParamsSerializer.MaxDepth Property
Maximum nesting depth; exceeded depth throws ERR_FORM_DATA_DEPTH_EXCEEDED.
public int MaxDepth { get; set; }
Property Value
AxiosParamsSerializer.Serialize Property
Serializes the whole params object; takes precedence over every other option.
public System.Func<System.Collections.Generic.IReadOnlyDictionary<string,object?>,string>? Serialize { get; set; }
Property Value
System.Func<System.Collections.Generic.IReadOnlyDictionary<System.String,System.Object>,System.String>