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

I work in php framework codeigniter. Now I want to update records via websocket in order to update information without refreshing the page. I can use ajax, jquery, but I need to do this through websocket. Therefore, please, someone can help how to execute this function using websocket and how to use it in the encoder.

+4
source share
2 answers

CodeIgniter does not have support for websites. However, you can use an external library such as Ratchet in your CI application.

+2

All Articles