RecordResponsePredicate

internal typealias RecordResponsePredicate = (HttpResponse) -> Boolean(source)

A predicate that determines whether an HTTP response should be recorded as a failure.

Return

true if the response should be recorded as a failure, false otherwise.