Skip to content

Add support for Streamable HTTP transport#13

Merged
haroldadmin merged 8 commits intomainfrom
features/kshitij/streamable-http-transport
May 4, 2025
Merged

Add support for Streamable HTTP transport#13
haroldadmin merged 8 commits intomainfrom
features/kshitij/streamable-http-transport

Conversation

@haroldadmin
Copy link
Owner

@haroldadmin haroldadmin commented May 4, 2025

This PR adds support for the new Streamable HTTP transport to this Fastify plugin.

  • Support for both stateless and stateful sessions in a single plugin
  • Tests for both implementations
  • New sample server demonstrating how to use the streamable HTTP transport
  • Breaking: the Sessions class is now generic on the Transport type exported from the SDK.

TODO:

  • I need to do some more work to ensure sessions are cleaned up properly when using this transport, but things seem to work well for now.
  • The plugin does not support event stores yet, expect that to be added in a future release.

@haroldadmin haroldadmin merged commit d530271 into main May 4, 2025
1 check passed
@haroldadmin haroldadmin deleted the features/kshitij/streamable-http-transport branch May 4, 2025 12:08
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.

1 participant

Comments