1、tcp/https:
https://www.cnblogs.com/xiaobaicai12138/p/15424154.html?share_token=6D57EF9A-3D6F-4B6A-A173-E35F9E4B81DF&tt_from=weixin&utm_source=weixin&utm_medium=toutiao_ios&utm_campaign=client_share&wxshare_count=1
2、jwt
https://blog.csdn.net/qq_26105397/article/details/122634806
3、restful
https://blog.csdn.net/guliang21/article/details/101425182?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-101425182-blog-107807137.pc_relevant_layerdownloadsortv1&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-101425182-blog-107807137.pc_relevant_layerdownloadsortv1&utm_relevant_index=1