diff --git a/Alamofire.xcodeproj/project.pbxproj b/Alamofire.xcodeproj/project.pbxproj index 8fe292de0..79f0d313a 100644 --- a/Alamofire.xcodeproj/project.pbxproj +++ b/Alamofire.xcodeproj/project.pbxproj @@ -95,10 +95,10 @@ 3199179D209CDA7F00103A19 /* Session.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31991792209CDA7F00103A19 /* Session.swift */; }; 3199179E209CDA7F00103A19 /* Session.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31991792209CDA7F00103A19 /* Session.swift */; }; 3199179F209CDA7F00103A19 /* Session.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31991792209CDA7F00103A19 /* Session.swift */; }; - 319917A0209CDA7F00103A19 /* SessionStateProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31991793209CDA7F00103A19 /* SessionStateProvider.swift */; }; - 319917A1209CDA7F00103A19 /* SessionStateProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31991793209CDA7F00103A19 /* SessionStateProvider.swift */; }; - 319917A2209CDA7F00103A19 /* SessionStateProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31991793209CDA7F00103A19 /* SessionStateProvider.swift */; }; - 319917A3209CDA7F00103A19 /* SessionStateProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31991793209CDA7F00103A19 /* SessionStateProvider.swift */; }; + 319917A0209CDA7F00103A19 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31991793209CDA7F00103A19 /* SessionDelegate.swift */; }; + 319917A1209CDA7F00103A19 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31991793209CDA7F00103A19 /* SessionDelegate.swift */; }; + 319917A2209CDA7F00103A19 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31991793209CDA7F00103A19 /* SessionDelegate.swift */; }; + 319917A3209CDA7F00103A19 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31991793209CDA7F00103A19 /* SessionDelegate.swift */; }; 319917A5209CDAC400103A19 /* RequestTaskMap.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319917A4209CDAC400103A19 /* RequestTaskMap.swift */; }; 319917A6209CDAC400103A19 /* RequestTaskMap.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319917A4209CDAC400103A19 /* RequestTaskMap.swift */; }; 319917A7209CDAC400103A19 /* RequestTaskMap.swift in Sources */ = {isa = PBXBuildFile; fileRef = 319917A4209CDAC400103A19 /* RequestTaskMap.swift */; }; @@ -368,7 +368,7 @@ 31991790209CDA7F00103A19 /* Request.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Request.swift; sourceTree = ""; }; 31991791209CDA7F00103A19 /* Response.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Response.swift; sourceTree = ""; }; 31991792209CDA7F00103A19 /* Session.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Session.swift; sourceTree = ""; }; - 31991793209CDA7F00103A19 /* SessionStateProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SessionStateProvider.swift; sourceTree = ""; }; + 31991793209CDA7F00103A19 /* SessionDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SessionDelegate.swift; sourceTree = ""; }; 319917A4209CDAC400103A19 /* RequestTaskMap.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RequestTaskMap.swift; sourceTree = ""; }; 319917A9209CDCB000103A19 /* HTTPHeaders.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HTTPHeaders.swift; sourceTree = ""; }; 319917B8209CE53A00103A19 /* OperationQueue+Alamofire.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "OperationQueue+Alamofire.swift"; sourceTree = ""; }; @@ -714,7 +714,7 @@ 319917A4209CDAC400103A19 /* RequestTaskMap.swift */, 31991791209CDA7F00103A19 /* Response.swift */, 31991792209CDA7F00103A19 /* Session.swift */, - 31991793209CDA7F00103A19 /* SessionStateProvider.swift */, + 31991793209CDA7F00103A19 /* SessionDelegate.swift */, 31D83FCD20D5C29300D93E47 /* URLConvertible+URLRequestConvertible.swift */, ); name = Core; @@ -1309,7 +1309,7 @@ 4C3D00561C66A63000D1F709 /* NetworkReachabilityManager.swift in Sources */, 311B199220B0E3480036823B /* MultipartUpload.swift in Sources */, 4C4466ED21F8F5D800AC9703 /* CachedResponseHandler.swift in Sources */, - 319917A2209CDA7F00103A19 /* SessionStateProvider.swift in Sources */, + 319917A2209CDA7F00103A19 /* SessionDelegate.swift in Sources */, 4CF6270A1BA7CBF60011A099 /* ParameterEncoding.swift in Sources */, 4C256A1C21F1449C00AD5D87 /* RetryPolicy.swift in Sources */, 31991796209CDA7F00103A19 /* Request.swift in Sources */, @@ -1381,7 +1381,7 @@ 4C811F8E1B51856D00E0F59A /* ServerTrustEvaluation.swift in Sources */, 311B199120B0E3470036823B /* MultipartUpload.swift in Sources */, 4C4466EC21F8F5D800AC9703 /* CachedResponseHandler.swift in Sources */, - 319917A1209CDA7F00103A19 /* SessionStateProvider.swift in Sources */, + 319917A1209CDA7F00103A19 /* SessionDelegate.swift in Sources */, 4C3D00551C66A63000D1F709 /* NetworkReachabilityManager.swift in Sources */, 4C256A1B21F1449C00AD5D87 /* RetryPolicy.swift in Sources */, 31991795209CDA7F00103A19 /* Request.swift in Sources */, @@ -1419,7 +1419,7 @@ E4202FD41B667AA100C997FB /* Alamofire.swift in Sources */, 311B199320B0E3480036823B /* MultipartUpload.swift in Sources */, 4C4466EE21F8F5D800AC9703 /* CachedResponseHandler.swift in Sources */, - 319917A3209CDA7F00103A19 /* SessionStateProvider.swift in Sources */, + 319917A3209CDA7F00103A19 /* SessionDelegate.swift in Sources */, E4202FD51B667AA100C997FB /* MultipartFormData.swift in Sources */, 4C256A1D21F1449C00AD5D87 /* RetryPolicy.swift in Sources */, 31991797209CDA7F00103A19 /* Request.swift in Sources */, @@ -1457,7 +1457,7 @@ 4C3D00541C66A63000D1F709 /* NetworkReachabilityManager.swift in Sources */, 311B199020B0D3B40036823B /* MultipartUpload.swift in Sources */, 4C4466EB21F8F5D800AC9703 /* CachedResponseHandler.swift in Sources */, - 319917A0209CDA7F00103A19 /* SessionStateProvider.swift in Sources */, + 319917A0209CDA7F00103A19 /* SessionDelegate.swift in Sources */, 4CDE2C431AF89F0900BABAE5 /* Validation.swift in Sources */, 4C256A1A21F1449C00AD5D87 /* RetryPolicy.swift in Sources */, 31991794209CDA7F00103A19 /* Request.swift in Sources */, diff --git a/Source/SessionStateProvider.swift b/Source/SessionDelegate.swift similarity index 99% rename from Source/SessionStateProvider.swift rename to Source/SessionDelegate.swift index 0e828321f..0b979e161 100644 --- a/Source/SessionStateProvider.swift +++ b/Source/SessionDelegate.swift @@ -1,5 +1,5 @@ // -// SessionStateProvider.swift +// SessionDelegate.swift // // Copyright (c) 2014-2018 Alamofire Software Foundation (http://alamofire.org/) // @@ -24,7 +24,7 @@ import Foundation -public protocol SessionStateProvider: AnyObject { +protocol SessionStateProvider: AnyObject { var serverTrustManager: ServerTrustManager? { get } var redirectHandler: RedirectHandler? { get } var cachedResponseHandler: CachedResponseHandler? { get }