to have the option to disable json encoding for sse data an additional argument 'json_encoding' added to send_event( ). It can be used to send raw String data or html String pre-rendered via Django as sse data, so no need to decode json data and /or using additional template engine on client side.
to have the option to disable json encoding for sse data an additional argument 'json_encoding' added to send_event( ). It can be used to send raw String data or html String pre-rendered via Django as sse data, so no need to decode json data and /or using additional template engine on client side.