@@ -22,8 +22,8 @@ public struct Address: Hashable {
2222 public let shouldRemoveSlashesForEmptyScheme : Bool
2323
2424 init ( _ urling: Source ,
25- shouldAddSlashAfterEndpoint: Bool = RequestSettings . shouldAddSlashAfterEndpoint,
26- shouldRemoveSlashesForEmptyScheme: Bool = RequestSettings . shouldRemoveSlashesForEmptyScheme) {
25+ shouldAddSlashAfterEndpoint: Bool = SmartNetworkSettings . shouldAddSlashAfterEndpoint,
26+ shouldRemoveSlashesForEmptyScheme: Bool = SmartNetworkSettings . shouldRemoveSlashesForEmptyScheme) {
2727 self . shouldAddSlashAfterEndpoint = shouldAddSlashAfterEndpoint
2828 self . shouldRemoveSlashesForEmptyScheme = shouldRemoveSlashesForEmptyScheme
2929 self . source = urling
@@ -46,32 +46,32 @@ public struct Address: Hashable {
4646
4747public extension Address {
4848 init ( _ urling: URL ,
49- shouldAddSlashAfterEndpoint: Bool = RequestSettings . shouldAddSlashAfterEndpoint,
50- shouldRemoveSlashesForEmptyScheme: Bool = RequestSettings . shouldRemoveSlashesForEmptyScheme) {
49+ shouldAddSlashAfterEndpoint: Bool = SmartNetworkSettings . shouldAddSlashAfterEndpoint,
50+ shouldRemoveSlashesForEmptyScheme: Bool = SmartNetworkSettings . shouldRemoveSlashesForEmptyScheme) {
5151 self . shouldAddSlashAfterEndpoint = shouldAddSlashAfterEndpoint
5252 self . shouldRemoveSlashesForEmptyScheme = shouldRemoveSlashesForEmptyScheme
5353 self . source = . url( urling)
5454 }
5555
5656 init ( _ urling: String ,
57- shouldAddSlashAfterEndpoint: Bool = RequestSettings . shouldAddSlashAfterEndpoint,
58- shouldRemoveSlashesForEmptyScheme: Bool = RequestSettings . shouldRemoveSlashesForEmptyScheme) {
57+ shouldAddSlashAfterEndpoint: Bool = SmartNetworkSettings . shouldAddSlashAfterEndpoint,
58+ shouldRemoveSlashesForEmptyScheme: Bool = SmartNetworkSettings . shouldRemoveSlashesForEmptyScheme) {
5959 self . shouldAddSlashAfterEndpoint = shouldAddSlashAfterEndpoint
6060 self . shouldRemoveSlashesForEmptyScheme = shouldRemoveSlashesForEmptyScheme
6161 self . source = . string( urling)
6262 }
6363
6464 init ( _ urling: URLComponents ,
65- shouldAddSlashAfterEndpoint: Bool = RequestSettings . shouldAddSlashAfterEndpoint,
66- shouldRemoveSlashesForEmptyScheme: Bool = RequestSettings . shouldRemoveSlashesForEmptyScheme) {
65+ shouldAddSlashAfterEndpoint: Bool = SmartNetworkSettings . shouldAddSlashAfterEndpoint,
66+ shouldRemoveSlashesForEmptyScheme: Bool = SmartNetworkSettings . shouldRemoveSlashesForEmptyScheme) {
6767 self . shouldAddSlashAfterEndpoint = shouldAddSlashAfterEndpoint
6868 self . shouldRemoveSlashesForEmptyScheme = shouldRemoveSlashesForEmptyScheme
6969 self . source = . components( urling)
7070 }
7171
7272 init ( _ urling: AddressDetails ,
73- shouldAddSlashAfterEndpoint: Bool = RequestSettings . shouldAddSlashAfterEndpoint,
74- shouldRemoveSlashesForEmptyScheme: Bool = RequestSettings . shouldRemoveSlashesForEmptyScheme) {
73+ shouldAddSlashAfterEndpoint: Bool = SmartNetworkSettings . shouldAddSlashAfterEndpoint,
74+ shouldRemoveSlashesForEmptyScheme: Bool = SmartNetworkSettings . shouldRemoveSlashesForEmptyScheme) {
7575 self . shouldAddSlashAfterEndpoint = shouldAddSlashAfterEndpoint
7676 self . shouldRemoveSlashesForEmptyScheme = shouldRemoveSlashesForEmptyScheme
7777 self . source = . details( urling)
@@ -83,8 +83,8 @@ public extension Address {
8383 path: [ String ] = [ ] ,
8484 queryItems: QueryItems = [ : ] ,
8585 fragment: String ? = nil ,
86- shouldAddSlashAfterEndpoint: Bool = RequestSettings . shouldAddSlashAfterEndpoint,
87- shouldRemoveSlashesForEmptyScheme: Bool = RequestSettings . shouldRemoveSlashesForEmptyScheme) {
86+ shouldAddSlashAfterEndpoint: Bool = SmartNetworkSettings . shouldAddSlashAfterEndpoint,
87+ shouldRemoveSlashesForEmptyScheme: Bool = SmartNetworkSettings . shouldRemoveSlashesForEmptyScheme) {
8888 self . shouldAddSlashAfterEndpoint = shouldAddSlashAfterEndpoint
8989 self . shouldRemoveSlashesForEmptyScheme = shouldRemoveSlashesForEmptyScheme
9090
0 commit comments