pact-foundation / roadmap

Developer Relations @ Pact - Your map to the Pact landscape for all-comers (maintainers, contributors, users, newbies)
https://pact.io/
MIT License
41 stars 7 forks source link

Plugin - Server Sent Events #79

Open canny[bot] opened 4 months ago

canny[bot] commented 4 months ago

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

canny[bot] commented 4 months ago

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