1、修改了heartbeat_interval参数值, 示例如下:
2、看到heartbeat_interval的解析:
3、引入头部文件
4、credit方法代码
5、connection方法代码
6、while True方法代码