Overview
channel().publish(...) is the server-side helper for pushing messages or events over HTTP.
Setup
Provide:
- text
- optional identifier_id
- optional identifier_label
- optional event
- optional meta
- optional extra data
Code example
result = pulsegrid.channel("demo-channel").publish(
"Hello from Python server",
identifier_id="python_server",
identifier_label="Python Server",
meta={"source": "python_http_publish"},
)
print(result)
Notes
Useful for backend workflows, bots, and scheduled broadcasts.