AxiosResponse Class
The response to a request, with an untyped body.
public class AxiosResponse
Inheritance System.Object → AxiosResponse
Derived
↳ AxiosResponse<T>
Properties
AxiosResponse.Config Property
The config the request was sent with.
public AxiosNet.Config.AxiosRequestConfig Config { get; init; }
Property Value
AxiosResponse.Data Property
Untyped body: the converted value, or the (transformed) body text on error responses.
public object? Data { get; init; }
Property Value
AxiosResponse.Duration Property
Approximate time taken until the response was fully received.
public System.TimeSpan Duration { get; init; }
Property Value
AxiosResponse.Headers Property
Response and content headers.
public AxiosNet.Models.AxiosHeaders Headers { get; init; }
Property Value
AxiosResponse.Request Property
The request that was sent.
public System.Net.Http.HttpRequestMessage? Request { get; init; }
Property Value
System.Net.Http.HttpRequestMessage
AxiosResponse.Status Property
HTTP status code.
public int Status { get; init; }
Property Value
AxiosResponse.StatusText Property
Reason phrase sent by the server.
public string? StatusText { get; init; }