ClientResponse<T>: {
    body: T;
    code?: number;
    error?: HttpErrorType;
    headers?: Record<string, any>;
    retryCount?: number;
    statusCode?: number;
}

Type Parameters

  • T = any

Type declaration

  • body: T
  • Optional code?: number
  • Optional error?: HttpErrorType
  • Optional headers?: Record<string, any>
  • Optional retryCount?: number
  • Optional statusCode?: number