server_client_comm 0.1.7 server_client_comm: ^0.1.7 copied to clipboard
This package will help you to communicate between server and client easilly! All you have to do is use a `SocketMessage.shrinkT(x,[y])` to serialize into json, and use `SocketMessage.expandT(x)` to se [...]
This package lets you communicate between the server and client,
all you need to do is SocketMessage.shrinkT(x,[y])
to turn x into json and make y it's type
and SocketMessage.expandT(x)
to turn the json string x into an object.
this package uses dson.