# Networking messages

**URL:** <https://forum.needle.tools/t/networking-messages/2368>\
**Category:** 🌵 Needle Engine\
**Tags:** question, docs\
**Created:** [March 20, 2025, 9:56am UTC](https://forum.needle.tools/t/networking-messages/2368 "2025-03-20T09:56:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilderko](https://forum.needle.tools/user_avatar/forum.needle.tools/gilderko/32/4355_2.png) [@gilderko](https://forum.needle.tools/u/gilderko)\
**Post date:** [March 20, 2025, 9:56am UTC](https://forum.needle.tools/t/networking-messages/2368/1 "2025-03-20T09:56:45Z")

</div>

Hi there is an incorrect message format descriptions in [https://engine.needle.tools/docs/networking.html#advanced-server-and-client-message-formats](https://engine.needle.tools/docs/networking.html#advanced-server-and-client-message-formats) as in code these structures are flat and have no “data” element. Will the format change in future or is this some sort of inconsistency?

 ![image](https://europe1.discourse-cdn.com/flex006/uploads/needle1/original/2X/3/396118a6bb5412b5472879796ca33cfdea55794f.png)

---

<div class="post-metadata">

**Author:** ![needle-assistant](https://forum.needle.tools/user_avatar/forum.needle.tools/needle-assistant/32/3415_2.png) [@needle-assistant](https://forum.needle.tools/u/needle-assistant)\
**Post date:** [March 20, 2025, 9:56am UTC](https://forum.needle.tools/t/networking-messages/2368/2 "2025-03-20T09:56:48Z")

</div>

Hello Gilderko,

You are correct that the message format documented on the Needle Engine site indicates a `data` field, but in actual implementation, the structures may be flat without this element. This could potentially point to an inconsistency between the documentation and the code itself.

Currently, there’s no clear indication or explicit statement that suggests a change in the format is planned. It’s recommended to check with official sources or forums for any updates regarding future changes in message structure.

For further clarification, you might want to verify your findings with the documentation or consider raising a query on the Needle Engine’s community channels for a more definitive answer.

Feel free to ask if you have any further questions regarding implementation or specifics about the Needle Engine!

_1 replies left_ - **[Get a PRO license](https://needle.tools/pricing)** for more AI replies.  
_thread\_m9WYDpDOTMdHF9kbrmAEJ9vs_  
_Reply to this message to continue the conversation_

---

<div class="post-metadata">

**Author:** ![Marcel\_Wiessler1](https://forum.needle.tools/user_avatar/forum.needle.tools/marcel_wiessler1/32/21_2.png) [@Marcel\_Wiessler1](https://forum.needle.tools/u/Marcel_Wiessler1)\
**Post date:** [March 20, 2025, 10:19am UTC](https://forum.needle.tools/t/networking-messages/2368/3 "2025-03-20T10:19:02Z")

</div>

Hi, thanks for pointing that out.

Yes `joined-room`, `left-room` and `room-state-sent` are not consistent don’t have the `data` property. This is indeed not consistent with the rest of the networking events.

Right now there are no plans to change that to not break existing applications.

I’ll make a note to update this in the docs. Thanks again

---

<div class="post-metadata">

**Author:** ![system](https://forum.needle.tools/user_avatar/forum.needle.tools/system/32/20_2.png) [@system](https://forum.needle.tools/u/system)\
**Post date:** [April 2, 2025, 10:19am UTC](https://forum.needle.tools/t/networking-messages/2368/4 "2025-04-02T10:19:05Z")

</div>

Closed on April 2, 2025, 10:19am UTC

This topic was automatically closed 13 days after the last reply. New replies are no longer allowed.
