isSuccess method

bool isSuccess()

Implementation

bool isSuccess() {
  return statusCode >= 200 && statusCode < 300;
}