-
Notifications
You must be signed in to change notification settings - Fork 175
Add server session id #381
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of suggestions. Overall good, but let's merge it after #378
kotlin-sdk-server/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/server/Server.kt
Outdated
Show resolved
Hide resolved
kotlin-sdk-server/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/server/Server.kt
Outdated
Show resolved
Hide resolved
dc71fc9 to
769b409
Compare
devcrocod
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good PR 👍
The only thing I have questions about is the naming of the functions that retrieve the session ID, since it deviates a bit from the typical Kotlin style
kotlin-sdk-server/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/server/Server.kt
Outdated
Show resolved
Hide resolved
kotlin-sdk-server/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/server/Server.kt
Outdated
Show resolved
Hide resolved
Support requests proxying from server to session by id
Rewrite server session redirection to receivers
ecd2548 to
97038b3
Compare
Motivation and Context
Add ids for server sessions (auto generated when created)
Support methods proxying from server to server session by id
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context