Function checkService

  • This function is used to call the correct microservice and API based on the received RequestMessage. It also sends the answer back through the websocket

    Parameters

    • message: RequestMessage

      sent by the client through the websocket

    • currentWs: WebSocket

      the websocket used for the communication

    • managerWs: WebSocket[]

      list of manager application web socket

    • employeeWs: WebSocket[]

      list of employee application web socket

    Returns void