odin_room_send_loopback_rpc
Overview
Sends a MessagePack encoded RPC message using a local loopback mechanism. It bypasses the normal network transmission by directly invoking the RPC callback configured in the connection pool settings.
It is useful for emitting synthetic events for testing and internal processing without involving the network layer.
Parameters
| Name | Type | Description |
|---|---|---|
room | struct OdinRoom * | The room handle. |
bytes | const uint8_t * | The MessagePack encoded payload. |
bytes_length | uint32_t | The length of the payload. |
Return Value
| Type | Description |
|---|---|
OdinError | ODIN_ERROR_SUCCESS on success. |