How to invoke a server side function using socket connection from HR Mobile App

  • I am currently developing a Face Recognition App and using a whitelist method to manage API calls.
  • I want to make the face recognition process real-time by leveraging web sockets. Since Frappe already supports socket.io,
  • I intend to establish a socket connection and send image frames that can be used for face recognition. Can anyone guide me how to achieve this integration effectively?
  • If anyone knows any info regarding how frappe realtime works, let me know
  • The Main thing is that I need to how to Invoke a Server Side Function using Socket connection from Frappe HR Mobile App