首先,安装ws
模块:
- - --
代码:
- - - -----
- -
- --- - - ----- -- - ---
-------- --- -- - -
- -
- --------- - - -------- -----
- -
- -- - ---------------
- -
----- - - -- ----
---------- -- -- - - - ---- ----
- -
------- --- - -
----- -- ---------
---
- -
------- -- - -
----- ---
---
---
----- - - - - ---