Skip to content

Support PSR-based network transports - #22

Draft
Firehed wants to merge 11 commits into
mainfrom
psr
Draft

Support PSR-based network transports#22
Firehed wants to merge 11 commits into
mainfrom
psr

Conversation

@Firehed

Copy link
Copy Markdown
Contributor

Allows use of PSRs 17 and 18 as an alternative to the default cURL transport.

Fixes#21.

@codecov

codecovBot commented Aug 15, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 3.22581% with 60 lines in your changes missing coverage. Please review.

Project coverage is 28.31%. Comparing base (1f69757) to head (269b282).

FilesPatch %Lines
src/Transport/Curl.php0.00%34 Missing ⚠️
src/Transport/Psr.php0.00%20 Missing ⚠️
src/Client.php28.57%5 Missing ⚠️
src/Transport/Response.php0.00%1 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## main #22 +/- ##
============================================
- Coverage 35.29% 28.31% -6.98% - Complexity 16 21 +5 
============================================
Files 4 7 +3 Lines 85 113 +28 ============================================
+ Hits 30 32 +2 - Misses 55 81 +26 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow providing a PSR-18 HTTP client (or just timeout controls?)

1 participant

@Firehed