Pyjo.SSE - Server-Sent Events¶
from Pyjo.SSE import build_event, parse_event
Pyjo.SSE implements the Server-Sent Events protocol. Note that this
module is EXPERIMENTAL and may change without warning!
An event is a dict with the keys type, text, id and,
when it is built, comment.
Functions¶
Pyjo.SSE implements the following functions, which can be imported
individually.
See also¶
Pyjoyment, https://mojolicious.org.
Ported from Mojo::SSE of Mojolicious 9.49.