浏览代码

Make RetryPolicy a RequestInterceptor. (#2739)

Jon Shier 6 年之前
父节点
当前提交
ce985c698a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
 /// as well as certain types of networking errors.
-open class RetryPolicy: RequestRetrier {
+open class RetryPolicy: RequestInterceptor {
     /// The default retry limit for retry policies.
     public static let defaultRetryLimit: UInt = 2