HslCommunication安装
去官网下载
https://github.com/dathlin/HslCommunication
hslcommunication安装目录下找到库文件引入进unity里,本人Unity2021.2.12f1
低版本可能还要引入Newtonsoft.Json.dll,本版本不用
在Unity里测试http server服务
新建一个脚本挂到相机上测试
编写httpserver 服务内容
运行场景,启动http server
启动 hslcommunication,开始请求模拟测试