influxdata / influxdb-client-swift

InfluxDB (v2+) Client Library for Swift
https://influxdata.github.io/influxdb-client-swift/
MIT License
26 stars 8 forks source link

feat: add possibility to configure proxy and redirects #38

Closed bednar closed 3 years ago

bednar commented 3 years ago

Proposed Changes

  1. Added possibility to configure proxy via connectionProxyDictionary option.
  2. Added possibility to configure redirect via urlSessionDelegate option.

Checklist

codecov-commenter commented 3 years ago

Codecov Report

Merging #38 (f1f0b72) into master (79333a1) will increase coverage by 34.82%. The diff coverage is 87.50%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #38       +/-   ##
===========================================
+ Coverage   52.56%   87.39%   +34.82%     
===========================================
  Files         135       10      -125     
  Lines        6120      706     -5414     
===========================================
- Hits         3217      617     -2600     
+ Misses       2903       89     -2814     
Impacted Files Coverage Δ
Sources/InfluxDBSwift/InfluxDBClient.swift 79.61% <87.50%> (+0.23%) :arrow_up:
...InfluxDBSwiftApis/Generated/JSONDataEncoding.swift
Tests/InfluxDBSwiftApisTests/SecretsAPITests.swift
...InfluxDBSwiftApis/Generated/Models/TaskLinks.swift
...fluxDBSwiftApis/Generated/Models/BucketLinks.swift
...s/InfluxDBSwiftApis/Generated/Models/Buckets.swift
...rces/InfluxDBSwiftApis/Generated/Models/User.swift
...enerated/Models/AddResourceMemberRequestBody.swift
Tests/InfluxDBSwiftApisTests/SetupAPITests.swift
...xDBSwiftApis/Generated/Models/Authorizations.swift
... and 114 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 79333a1...f1f0b72. Read the comment docs.