bigskysoftware / bigskysoftware/htmx-extensions

No way to proxy SSE data

Open
#48 7 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
284
Forks
88
PR merge metrics
No merged PRs in 30d

Description

It would be interesting if there was a way to update the server side event's data before they got swapped into the elements.

The main reason for this is that SSE specification uses `\n\n` as an event terminator and the way to send multiline data is to base64 encode it before. However, there is no way to decode it on the frontend before the swap. At least not to my knowledge.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.