Paul 6 anos atrás
pai
commit
625288beb9
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      src/index.ts

+ 1
- 1
src/index.ts Ver arquivo

123
   }
123
   }
124
 
124
 
125
   // 获取socket的链接状态
125
   // 获取socket的链接状态
126
-  public getReadyState(): number {
126
+  public get readyState(): number {
127
     return this.socket.readyState;
127
     return this.socket.readyState;
128
   }
128
   }
129
 
129