I have this function:
private suspend fun sendHandshakeAnswer(websocket: DefaultWebSocketServerSession): SocketSession? {
val dbSession = SessionManager.startSession(
user,
InetAddress.getByName(websocket.call.request.origin.remoteHost),
fingerprint,
videocard
)
}
How do I make a call to this function as required by idea?