The Create Addons WebSocket is used to retrieve informations about a specific addon or a list of addons available on the website, and also to get notified as soon as an addon gets added or removed on the website.
The Websocket URL is ws://localhost:3000/ws.
0) - The server sends a ping to client.1) - The client response the the server's ping.2) - The server sends a message to all the clients with all the newly added addons.3) - The server sends a message to all the clients with all the added addons that were modified.4) - The client sends a command to the server to retrieve a specific addons or the list of addons.5) - The server replies successfully to the client's command.6) - The server replies with an error to the client's command.A WebSocket message looks like so:
| Property | Type | Description | 
|---|---|---|
| type | number | The type of the WebSocket message, indicating the event (see above or each message's page to get its the type's number). | 
| data | unknown | The data associated with the WebSocket message, which varies based on the type of message. |