validateStatus property

ValidateStatus? validateStatus
getter/setter pair

validateStatus defines whether the request is successful for a given HTTP response status code. If validateStatus returns true , the request will be perceived as successful; otherwise, considered as failed.

Implementation

ValidateStatus? validateStatus;