diff --git a/Docs.docc/Pages/RxNetworkKit.md b/Docs.docc/Pages/RxNetworkKit.md index 4751a72..db3f29e 100644 --- a/Docs.docc/Pages/RxNetworkKit.md +++ b/Docs.docc/Pages/RxNetworkKit.md @@ -19,6 +19,7 @@ It makes use of RxSwift's traits at request level to acheive a high level of spe ### Foundation - ``Session`` +- ``SessionConfiguration`` - ``RESTClient`` - ``HTTPClient`` @@ -45,10 +46,6 @@ It makes use of RxSwift's traits at request level to acheive a high level of spe - ``HTTPRequestRetrier`` - ``HTTPRequestRetryPolicy`` -### Event Monitor - -- ``HTTPRequestEventMonitor`` - ### Network Reachability - ``NetworkReachability`` diff --git a/Examples/iOS/iOS Example.xcodeproj/project.pbxproj b/Examples/iOS/iOS Example.xcodeproj/project.pbxproj index 5df55ce..87897ab 100644 --- a/Examples/iOS/iOS Example.xcodeproj/project.pbxproj +++ b/Examples/iOS/iOS Example.xcodeproj/project.pbxproj @@ -330,7 +330,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; OTHER_CODE_SIGN_FLAGS = "--deep"; PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKitExample; PRODUCT_NAME = "iOS Example"; @@ -367,7 +367,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; OTHER_CODE_SIGN_FLAGS = "--deep"; PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKitExample; PRODUCT_NAME = "iOS Example"; diff --git a/Examples/macOS/macOS Example.xcodeproj/project.pbxproj b/Examples/macOS/macOS Example.xcodeproj/project.pbxproj index 562449c..078be98 100644 --- a/Examples/macOS/macOS Example.xcodeproj/project.pbxproj +++ b/Examples/macOS/macOS Example.xcodeproj/project.pbxproj @@ -361,7 +361,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 11.0; - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; OTHER_CODE_SIGN_FLAGS = "--deep"; PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKitMacOSExample; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -394,7 +394,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 11.0; - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; OTHER_CODE_SIGN_FLAGS = "--deep"; PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKitMacOSExample; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/Examples/tvOS/tvOS Example.xcodeproj/project.pbxproj b/Examples/tvOS/tvOS Example.xcodeproj/project.pbxproj index a38162c..8abf7ea 100644 --- a/Examples/tvOS/tvOS Example.xcodeproj/project.pbxproj +++ b/Examples/tvOS/tvOS Example.xcodeproj/project.pbxproj @@ -372,7 +372,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; PRODUCT_BUNDLE_IDENTIFIER = com.las.tvOSExample; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -398,7 +398,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; PRODUCT_BUNDLE_IDENTIFIER = com.las.tvOSExample; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; diff --git a/Examples/watchOS/watchOS Example.xcodeproj/project.pbxproj b/Examples/watchOS/watchOS Example.xcodeproj/project.pbxproj index 5d80ece..63f4889 100644 --- a/Examples/watchOS/watchOS Example.xcodeproj/project.pbxproj +++ b/Examples/watchOS/watchOS Example.xcodeproj/project.pbxproj @@ -406,7 +406,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; PRODUCT_BUNDLE_IDENTIFIER = com.las.watchOSExample.watchkitapp; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = watchos; @@ -436,7 +436,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; PRODUCT_BUNDLE_IDENTIFIER = com.las.watchOSExample.watchkitapp; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = watchos; diff --git a/RxNetworkKit.xcodeproj/project.pbxproj b/RxNetworkKit.xcodeproj/project.pbxproj index 1ce37b7..ca07bfb 100644 --- a/RxNetworkKit.xcodeproj/project.pbxproj +++ b/RxNetworkKit.xcodeproj/project.pbxproj @@ -657,7 +657,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 11.0; - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKit; @@ -698,7 +698,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 11.0; - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKit; diff --git a/Shared/CoreExample/CoreExample.xcodeproj/project.pbxproj b/Shared/CoreExample/CoreExample.xcodeproj/project.pbxproj index 9a77aec..f00fef8 100644 --- a/Shared/CoreExample/CoreExample.xcodeproj/project.pbxproj +++ b/Shared/CoreExample/CoreExample.xcodeproj/project.pbxproj @@ -366,7 +366,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 11.0; - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = com.las.CoreExample; @@ -411,7 +411,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 11.0; - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 2.0.0; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = com.las.CoreExample; diff --git a/Source/Session/Types/SessionConfiguration.swift b/Source/Session/Types/SessionConfiguration.swift index c926083..22b2629 100644 --- a/Source/Session/Types/SessionConfiguration.swift +++ b/Source/Session/Types/SessionConfiguration.swift @@ -15,17 +15,17 @@ public class SessionConfiguration { .init(urlSessionConfiguration: .default, setUserAgentHeader: true, logRequests: true) } - /// `URLSessionConfiguration`object used to create `URLSession` object. + /// `URLSessionConfiguration` object used to create `URLSession` object. let urlSessionConfiguration: URLSessionConfiguration /// `Bool` flag that indicates wether a `URLSession` should add `User-Agent` header to outgoing requests. let setUserAgentHeader: Bool /// `Bool` flag that indicates wether a `URLSession` should print outgoing requests to the console. let logRequests: Bool - /// Description + /// Creates a `SessionConfiguration` instance. /// /// - Parameters: - /// - urlSessionConfiguration: `URLSessionConfiguration`object used to create `URLSession` object. + /// - urlSessionConfiguration: `URLSessionConfiguration` object used to create `URLSession` object. /// - setUserAgentHeader: `Bool` flag that indicates wether a `URLSession` should add `User-Agent` header to outgoing requests. /// - logRequests: `Bool` flag that indicates wether a `URLSession` should print outgoing requests to the console. public init(urlSessionConfiguration: URLSessionConfiguration, setUserAgentHeader: Bool, logRequests: Bool) {