---
title: "push · RUAL Documentation"
description: "Pushes a frame to every socket in the rooms, on every node. A RUAL realtime block. See its 10 input and 4 output pins and its version history."
canonical: https://docs.rual.nl/block-types/realtime/realtime_push
language: en
---

# push

This block is part of the [`realtime`](https://docs.rual.nl/block-types/realtime) group and was last modified in core [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

Pushes a frame to every socket in the rooms, on every node.

- flow

- rooms `array`

- room `value`

- method `value` required

- payload `object`

- resume `condition`

- exclude self `condition`

- exclude users `array`

- within `value`

- require `object` a role check per recipient: {roles, root, path, permission}

- flow

- success `condition`

- seq `number`

- error `value`

Commits one push in one Redis call: a seq shared by every recipient, a log entry in each room when the entity's resume policy (realtime_resume_policy) logs the method, and a publish per room. Every node with sockets in a room delivers the same encoded frame. exclude_self skips the socket of the run (and its session on a resume); exclude_users skips every socket of those users; within delivers only to sockets also in that room; require is a role check per recipient, answered by the role resolver: {roles: model name, root, path (ids from the root down), permission}, e.g. {roles: "facilities", path: [building, floor], permission: "see_alarms"} delivers an alarm only to who may see it on that floor; a filter with any other key fails the push, and a node without the resolver refuses it. resume=false keeps the push out of the logs; it can only narrow the policy.

## Version history

Introduced in [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

- [`v15.0.2`](https://docs.rual.nl/core-versions/150002): block added in this release.

- [Back to `realtime`](https://docs.rual.nl/block-types/realtime): Return to the main group to view all sub-groups

- [Back to `realtime`](https://docs.rual.nl/block-types/realtime?group=realtime): Return to the group to view all blocks within this group
