Skip to content

Pluggable HTTP server abstractions improvements#78

Merged
RomanEmreis merged 2 commits into
mainfrom
feat/pluggable-http-improvements
May 23, 2026
Merged

Pluggable HTTP server abstractions improvements#78
RomanEmreis merged 2 commits into
mainfrom
feat/pluggable-http-improvements

Conversation

@RomanEmreis
Copy link
Copy Markdown
Owner

Summary

  • HttpEngine::adapt_request no longer forces engines to .unwrap()/.expect()
  • HttpEngine::adapt_response drops the BytesMut round-trip for the default Streamable HTTP implementation.
  • parse_message single-step decode + Error::classify(). Drops the serde::Value intermediate from the single-message hot path.
  • Removed 'static constraint for HttpEngine::Request, HttpEngine::Response and HttpEngine::SseEvent

Type

  • Bug fix
  • Feature
  • Enhancement
  • Performance
  • Documentation
  • Refactor
  • Security
  • Breaking change

Checklist

  • I added/updated tests where it makes sense
  • I updated docs/examples if needed
  • This change is backwards-compatible (or clearly marked as breaking)
  • I ran formatting/lints locally (if applicable)

@RomanEmreis RomanEmreis self-assigned this May 23, 2026
@RomanEmreis RomanEmreis added documentation Improvements or additions to documentation enhancement New feature or request performance breaking labels May 23, 2026
@RomanEmreis RomanEmreis changed the title Feat/pluggable http improvements Pluggable HTTP server abstractions improvements May 23, 2026
@RomanEmreis RomanEmreis merged commit 3567590 into main May 23, 2026
4 checks passed
@RomanEmreis RomanEmreis deleted the feat/pluggable-http-improvements branch May 23, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking documentation Improvements or additions to documentation enhancement New feature or request performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant