Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

Commit e90d90c

Browse files
committed
Release 0.4.10 allows to clear authChallenge or serverTrust after initialization.
1 parent 4cf20ee commit e90d90c

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Release 0.4.10
2+
3+
- [x] Allows to clear authChallenge or serverTrust after initialization.
4+
15
# Release 0.4.9
26

37
- [x] Codable / Decodable / Encodable protocols compatible with output formatting, date coding strategy, data coding strategy, non conforming float coding strategy, key coding strategy and coding user info dictionary.

Net.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@
13741374
CURRENT_PROJECT_VERSION = "$(DYLIB_CURRENT_VERSION)";
13751375
DEVELOPMENT_TEAM = 3VW789WSMP;
13761376
DYLIB_COMPATIBILITY_VERSION = 0.4.7;
1377-
DYLIB_CURRENT_VERSION = 0.4.9;
1377+
DYLIB_CURRENT_VERSION = 0.4.10;
13781378
ENABLE_STRICT_OBJC_MSGSEND = YES;
13791379
ENABLE_TESTABILITY = YES;
13801380
GCC_C_LANGUAGE_STANDARD = gnu99;
@@ -1431,7 +1431,7 @@
14311431
CURRENT_PROJECT_VERSION = "$(DYLIB_CURRENT_VERSION)";
14321432
DEVELOPMENT_TEAM = 3VW789WSMP;
14331433
DYLIB_COMPATIBILITY_VERSION = 0.4.7;
1434-
DYLIB_CURRENT_VERSION = 0.4.9;
1434+
DYLIB_CURRENT_VERSION = 0.4.10;
14351435
ENABLE_STRICT_OBJC_MSGSEND = YES;
14361436
GCC_C_LANGUAGE_STANDARD = gnu99;
14371437
GCC_NO_COMMON_BLOCKS = YES;

NetClient.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'NetClient'
3-
s.version = '0.4.9'
3+
s.version = '0.4.10'
44
s.summary = 'Versatile HTTP networking library written in Swift.'
55

66
s.homepage = 'https://github.com/intelygenz/NetClient-iOS'

URLSession/NetURLSession.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ open class NetURLSession: Net {
4949

5050
open var acceptableStatusCodes = defaultAcceptableStatusCodes
5151

52-
open private(set) var authChallenge: ((URLAuthenticationChallenge, (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void) -> Swift.Void)?
52+
open var authChallenge: ((URLAuthenticationChallenge, (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void) -> Swift.Void)?
5353

54-
open private(set) var serverTrust = [String: NetServerTrust]()
54+
open var serverTrust = [String: NetServerTrust]()
5555

5656
private final var taskObserver: NetURLSessionTaskObserver? = NetURLSessionTaskObserver()
5757

0 commit comments

Comments
 (0)