Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- socket.emit('getDoctors');
- socket.on('doctors', function( username ) {
- });
- socket.emit('schedule', {user_id: doctorId, ime: ime, mobile: mob, msg: message});
- socket.on('scheduled', function() {
- });
- socket.emit('getAppointments', user_id);
- socket.on('appointments', function( data ) {
- app_id, name, mobile, msg
- });
- socket.emit('removeAppointments', app_id);
- socket.on('appRemoved', function() {
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement