<commit_before># eZchat Event
What does the server returns upon receiving an event from the client.

## New Message
When a clients emit a *new message* event the server returns an object with the username and the content of the message.

**Note:** The following events are reserved and should not be used as event names by your application:
- `error`
- `connect`
- `disconnect`
- `disconnecting`
- `newListener`
- `removeListener`
- `ping`
- `pong`<commit_msg>:skull: Add 'add user' event to docs.<commit_after># eZchat Event
What does the server returns upon receiving an event from the client.

## New Message
When a clients emit a *new message* event the server broadcast a *new message* event that returns a username

## Add user
When a clients emit a *add user* event the server returns an object with the username and the content of the message. This event can be called on the **connect** and **reconnect** event.

**Note:** The following events are reserved and should not be used as event names by your application:
- `error`
- `connect`
- `disconnect`
- `disconnecting`
- `newListener`
- `removeListener`
- `ping`
- `pong`
{'fraction_non_alphanumeric': 0.08833922261484099, 'fraction_numerical': 0.0, 'mean_word_length': 4.369668246445498, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6221367', 'n_tokens_mistral': 310, 'n_tokens_neox': 308, 'n_words': 165}