Closed dplewis closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
77b06f4
) 98.60% compared to head (8905ca8
) 98.61%.:exclamation: Current head 8905ca8 differs from pull request most recent head 86be59a. Consider uploading reports for the commit 86be59a to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Rerunning the CI because PHP 8.1 failed
🎉 This change has been released in version 2.2.0
New Pull Request Checklist
Issue Description
There are a lot of options and features available to the http clients but we are unable to use them. This PR will allow the developer to control the http transport layer. The main goal was to get certificate pinning working on a self signed tls enabled server.
Curl Options: https://www.php.net/manual/en/function.curl-setopt.php Stream Options: https://www.php.net/manual/en/context.php
Closes: https://github.com/parse-community/parse-php-sdk/issues/218
Approach
Create a TLS enabled server
Test connecting to TLS server
Test overriding existing initial setup for http clients
Generate self signed certificates
Add debugging tools
[x] Add tests
[x] Add changes to documentation (guides, repository pages, in-code descriptions)