Skip to content

feat(sse): Add remote transport#17

Merged
kyleconroy merged 3 commits intomainfrom
kyle/sse
Mar 19, 2025
Merged

feat(sse): Add remote transport#17
kyleconroy merged 3 commits intomainfrom
kyle/sse

Conversation

@kyleconroy
Copy link
Copy Markdown
Contributor

Fixes #5

Comment on lines +18 to +20
// Metadata is used to store additional information about the message for
// processing by the client or server. It is never sent across the wire.
Metadata map[string]string
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm not super happy with this field, but we need a place to put metadata that isn't sent across the wire. Seemed like an okay place to put it for now

@kyleconroy
Copy link
Copy Markdown
Contributor Author

Since the SSE transport has different behavior for clients and servers, we're going to need to redesign the client / server implementations, but that can come later.

@kyleconroy kyleconroy merged commit e2fbcbd into main Mar 19, 2025
1 check 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.

Add a server-sent events (SSE) transport

1 participant