Implement Chat Server with Phoenix and chat client with iOS application.
Server
After running the server, you can open chat page, http://localhost:4000/, via browser.
The server has no DB. So, history will be deleted if someone reload browser.
Client
- https://github.com/KazuCocoa/WebSocketDemoForiOS/tree/master
- connect to
http://localhost:4000/socket/websocketas websocket
Only join the room and send pre-set message to the server.
Don’t support display all chat message, store message and so on.
images

1 Comment