-
Notifications
You must be signed in to change notification settings - Fork 19
Http module #831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Http module #831
Conversation
Move HTTP-related code into a standalone Http module for better modularity. This includes HttpClient, request/response types, TLS pinning infrastructure, and endpoint handling. The Split module now imports Http and uses adapter protocols for authentication and notifications. Co-authored-by: Cursor <cursoragent@cursor.com>
SDK Readiness Test Results ✅
Legend: 🟢 significant improvement | 🔴 significant regression | ⚪ inconclusive (p≥0.05) ios-test-mock
|
SDK Readiness Test Results ✅
Legend: 🟢 significant improvement | 🔴 significant regression | ⚪ inconclusive (p≥0.05) ios-test-mock
|
SDK Readiness Test Results ✅
Legend: 🟢 significant improvement | 🔴 significant regression | ⚪ inconclusive (p≥0.05) ios-test-mock
|
SDK Readiness Test Results ✅
Legend: 🟢 significant improvement | 🔴 significant regression | ⚪ inconclusive (p≥0.05) ios-test-mock
|
Tests moved and adapted
README added
| // This is visible for testing purposes, because this logic is simple but has a tricky implementation | ||
| // It is not part of the implemented protocol | ||
| static func spki(from certificate: SecCertificate) -> CertSpki? { | ||
| public static func spki(from certificate: SecCertificate) -> CertSpki? { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess if we move the mentioned test this could go back to non public. Just a minor comment though.
| import Http | ||
|
|
||
| // Re-export only CertificatePinningStatus for SDK consumers | ||
| @_exported import enum Http.CertificatePinningStatus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double check the @_exported is necessary.
SDK Readiness Test Results ✅
Legend: 🟢 significant improvement | 🔴 significant regression | ⚪ inconclusive (p≥0.05) ios-test-mock
|
|




iOS SDK
What did you accomplish?
How do we test the changes introduced in this PR?
Extra Notes