How does workerman determine that the client request is sent from Wechat Mini Game?

websocket persistent connection, because the feature of giving small red packets is added to the game, how to verify that the request from the client to the server is sent from WeChat Mini Programs instead of the tool used by the user to intercept token?

public static function onConnect ($client_id)
{

    //======, ==
    //================end======================

}


the client is your own, whether in UA or Url, bring your own parameters.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e96eeb-1617.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e96eeb-1617.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?