Skip to content

Streamable Http - fix server initialization validation in Stateless servers #377

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 14 commits into from
Apr 22, 2025

Conversation

ihrpr
Copy link
Contributor

@ihrpr ihrpr commented Apr 21, 2025

Build on top of #335

For servers that do not require session management (sessionIdGenerator set to undefined), we do not need to do session validation, as there is no session.

  • check if sessionIdGenerator is undefined and if is return early in session validation
  • update readme
  • wrap server in function in examples - it was wrong to use the same server for different transports
  • add test client to make multiple client connections npx tsx src/examples/client/multipleClientsParallel.ts

jeet-at

This comment was marked as off-topic.

Copy link
Member

@jspahrsummers jspahrsummers left a comment

Choose a reason for hiding this comment

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

spiderman_legit

@ihrpr ihrpr merged commit 73f464f into main Apr 22, 2025
4 checks passed
@ihrpr ihrpr deleted the ihrpr/example-clients branch April 22, 2025 09:47
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.

6 participants