I like to obtain a little example of this:
https://hexdocs.pm/phoenix/Phoenix.Socket.Transport.html#module-exampleBasically I want to build my own JSON incapsulated message protocol through websocket.
I’ll do a desktop app using client websocket.
1) Client send login and password
2) Server authenticate using ecto.sql.adapters (pgsql) plain query (instead of model)
3) Ecto.query can be done async as in node?
4) Server send a unique id (and token if needed for session?) to the client
5) Client 1 can send direct messages 1:1 to client 2
6) Catch errors through log procedure to file or db
7) Use base64, md5 functions over strings
If you like we can talk in skype or email roberto.dellapasqua@live.com and give me an offer price for a small sample code.
Thank you very much.
Roberto