ResponseClassifier Class

Definition

A type that analyzes HTTP responses and exceptions and determines if they should be retried.

public class ResponseClassifier
type ResponseClassifier = class
Public Class ResponseClassifier
Inheritance
System.Object
ResponseClassifier

Constructors

ResponseClassifier()

Methods

IsErrorResponse(HttpMessage)

Specifies if the response contained in the message is not successful.

IsRetriable(HttpMessage, Exception)

Specifies if the operation that caused the exception should be retried taking the HttpMessage into consideration.

IsRetriableException(Exception)

Specifies if the operation that caused the exception should be retried.

IsRetriableResponse(HttpMessage)

Specifies if the request contained in the message should be retried.

Applies to