How to use websocket in codeigniter to update content without page refresh

user2935236 picture user2935236 · Oct 30, 2013 · Viewed 7.9k times · Source

I am working in php framework codeigniter. Now I want to update records via websocket so that information update without page refresh. I can use ajax , jquery but I need to do this via websocket. So please anyone can help how to accomplish this functionality with websocket and how to use it in codeigniter.

Answer

xbonez picture xbonez · Oct 30, 2013

CodeIgniter does not have support for websockets. However, you can use an external library like Ratchet within your CI application.