Publisher | Firesplash Entertainment |
---|---|
File size | 272.98kB |
Number of files | 33 |
Latest version | 1 |
Latest release date | 2023-02-15 03:04:34 |
First release date | 2021-06-15 07:22:12 |
Supported Unity versions | 2018.4.2 or higher |
Do you need the older Socket.IO v2? Find our v2 asset here!
This asset implements an easy to use API for communicating to any socket.io powered backend like for example NodeJS microservices using the standard On/Emit Methods.
The library supports Receiving and Emitting events with zero or one data parameter (which can be a JSON object) as simple as.
JSON-Object-Data which is received from the server is serialized into a string (JSON format). Plain text data is passed through unmodified.
Binary payloads are not supported (You can encode them as Base64). Acknowledgements are also not supported.
This library is ready made for simple Event-Based communication. It is not aiming to be a complete socket.IO implementation. It does further not support namespaces.
There may be minor differences in handling technical events (like connect, disconnect, connect_attempt, ...) comapred to the JS library AND between Native/WebGL implementations but we try to keep it aligned as near as possible.
BASIC versus PLUS
This "BASIC" asset is designed for a quick implementation and lacks some more advanced features. The "PLUS" asset is more feature-complete but also more technical regarding it's implementation (still quite easy though). The PLUS asset will be released in late Q1/2023.