Push a message to all clients in a websocket room.
| Kind | Attribute |
| Since | 0.1.0 |
broadcast to :<room> [fragment <name>]
Renders the named fragment server-side and sends the resulting HTML to all socket clients subscribed to the room.
socket /chat/:room
on message
query: INSERT INTO message ...
broadcast to :room fragment chat-message
| Spec last touched | 18cf488 (2026-05-20) |
| Source last touched | af278bb (2026-05-20) |
| Source files | internal/parser/parser.go |