Browse Source

Make RetryPolicy a RequestInterceptor. (#2739)

Jon Shier 6 years ago
parent
commit
ce985c698a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/RetryPolicy.swift

+ 1 - 1
Source/RetryPolicy.swift

@@ -26,7 +26,7 @@ import Foundation
 
 
 /// A retry policy that retries requests using an exponential backoff for allowed HTTP methods and HTTP status codes
 /// A retry policy that retries requests using an exponential backoff for allowed HTTP methods and HTTP status codes
 /// as well as certain types of networking errors.
 /// as well as certain types of networking errors.
-open class RetryPolicy: RequestRetrier {
+open class RetryPolicy: RequestInterceptor {
     /// The default retry limit for retry policies.
     /// The default retry limit for retry policies.
     public static let defaultRetryLimit: UInt = 2
     public static let defaultRetryLimit: UInt = 2