Closed zuisong closed 5 months ago
I have no idea how to write a test case for this feature.
Not something to address in this PR but I noticed that HTTPie can format payloads contained in individual events
$ http https://sse.dev/test --body
data: {
"msg": "It works!",
"now": 1712764259321,
"sse_dev": "is great",
"testing": true
}
data: {
"msg": "It works!",
"now": 1712764261322,
"sse_dev": "is great",
"testing": true
}
closes #204