Skip to content

Refactor HTTP object creation around PSR-17#169

Merged
alganet merged 1 commit intoRespect:masterfrom
alganet:http-factories
Mar 18, 2026
Merged

Refactor HTTP object creation around PSR-17#169
alganet merged 1 commit intoRespect:masterfrom
alganet:http-factories

Conversation

@alganet
Copy link
Member

@alganet alganet commented Mar 18, 2026

Move response and stream creation behind PSR-17 factories across the dispatch pipeline.

Introduce HttpFactories for router configuration, pass explicit factory interfaces to dispatch and responder code, remove the custom Stream wrapper, and align routes, routines, examples, and tests with the new HTTP wiring.

Move response and stream creation behind PSR-17 factories across the dispatch
pipeline.

Introduce HttpFactories for router configuration, pass explicit factory
interfaces to dispatch and responder code, remove the custom Stream wrapper,
and align routes, routines, examples, and tests with the new HTTP wiring.
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.53%. Comparing base (0a8010a) to head (1436788).

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #169      +/-   ##
============================================
+ Coverage     97.06%   97.53%   +0.47%     
+ Complexity      461      425      -36     
============================================
  Files            30       30              
  Lines          1124     1056      -68     
============================================
- Hits           1091     1030      -61     
+ Misses           33       26       -7     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alganet alganet marked this pull request as ready for review March 18, 2026 00:48
@alganet alganet merged commit 0488561 into Respect:master Mar 18, 2026
3 checks passed
@alganet alganet deleted the http-factories branch March 18, 2026 00:48
Sign up for free to 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.

2 participants