Interface: HttpResponse<T>
HTTP response wrapper interface Provides a consistent response structure regardless of the underlying HTTP client
Type Parameters
T
T = unknown
Properties
data
data: TResponse data (parsed JSON or raw)
ok
ok: booleanWhether the request was successful (status 200-299)
status
status: numberHTTP status code
statusText?
optional statusText: string;Optional status text
Last updated on