Skip to content

feat: support streamable http transport #243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 28, 2025

Conversation

Skn0tt
Copy link
Member

@Skn0tt Skn0tt commented Apr 22, 2025

Adds support for the new StreamableHttp transport. I'm not aware of any clients that implement it, but somebody's gotta make the start! Once some clients support it, we can also advertise it in the README.

@Skn0tt Skn0tt requested a review from pavelfeldman April 22, 2025 09:57
@Skn0tt Skn0tt self-assigned this Apr 22, 2025
@Skn0tt Skn0tt requested a review from pavelfeldman April 23, 2025 08:07
src/transport.ts Outdated
}

export async function startHttpTransport(port: number, serverList: ServerList) {
const sseSessions = new Map<string, SSEServerTransport>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we keep these in the same namespace / closure? To me those are two different servers.

@Skn0tt Skn0tt requested a review from pavelfeldman April 24, 2025 13:57
@Skn0tt Skn0tt merged commit bf7dbab into microsoft:main Apr 28, 2025
5 checks passed
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.

3 participants