I am trying to use websockets in moodle. My basic idea is to make a button in vpl editor named call_teacher and when student click on that teacher get notification and when teacher change the student code then student get notified without refresh. Teacher is getting notification but I don't know how to notify student using websockets. Is there any plugin which can help