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

Commit

Permalink
Release 0.4.10 allows to clear authChallenge or serverTrust after ini…
Browse files Browse the repository at this point in the history
…tialization.
  • Loading branch information
alexruperez committed Jul 19, 2018
1 parent 4cf20ee commit e90d90c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Release 0.4.10

- [x] Allows to clear authChallenge or serverTrust after initialization.

# Release 0.4.9

- [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.
Expand Down
4 changes: 2 additions & 2 deletions Net.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@
CURRENT_PROJECT_VERSION = "$(DYLIB_CURRENT_VERSION)";
DEVELOPMENT_TEAM = 3VW789WSMP;
DYLIB_COMPATIBILITY_VERSION = 0.4.7;
DYLIB_CURRENT_VERSION = 0.4.9;
DYLIB_CURRENT_VERSION = 0.4.10;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
Expand Down Expand Up @@ -1431,7 +1431,7 @@
CURRENT_PROJECT_VERSION = "$(DYLIB_CURRENT_VERSION)";
DEVELOPMENT_TEAM = 3VW789WSMP;
DYLIB_COMPATIBILITY_VERSION = 0.4.7;
DYLIB_CURRENT_VERSION = 0.4.9;
DYLIB_CURRENT_VERSION = 0.4.10;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down
2 changes: 1 addition & 1 deletion NetClient.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'NetClient'
s.version = '0.4.9'
s.version = '0.4.10'
s.summary = 'Versatile HTTP networking library written in Swift.'

s.homepage = 'https://github.com/intelygenz/NetClient-iOS'
Expand Down
4 changes: 2 additions & 2 deletions URLSession/NetURLSession.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ open class NetURLSession: Net {

open var acceptableStatusCodes = defaultAcceptableStatusCodes

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

open private(set) var serverTrust = [String: NetServerTrust]()
open var serverTrust = [String: NetServerTrust]()

private final var taskObserver: NetURLSessionTaskObserver? = NetURLSessionTaskObserver()

Expand Down

0 comments on commit e90d90c

Please sign in to comment.