Skip to content
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

Plugin - Server Sent Events #79

Open
canny bot opened this issue Jun 26, 2024 · 1 comment
Open

Plugin - Server Sent Events #79

canny bot opened this issue Jun 26, 2024 · 1 comment

Comments

@canny
Copy link

canny bot commented Jun 26, 2024

The SSE protocol has a slightly peculiar format and can't be easily tested with Pact today - whilst the protocol is text based, Pact doesn't understand the various tokens and therefore payloads would currently require exact matching, which is rather brittle.
SSE could be developed as a Content Matcher plugin and optionally a transport (the Asynchronous message type could easily model this interaction without a transport if needed)
https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#event_stream_format

https://pact.canny.io/admin/board/feature-requests/p/plugin-server-sent-events

Copy link
Author

canny bot commented Jun 26, 2024

This issue has been linked to a Canny post: Plugin - Server Sent Events 🎉

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

No branches or pull requests

0 participants