Skip to content

Commit

Permalink
add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 14, 2015
1 parent 4a42faf commit 8afd08e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,10 @@ ws.disconnect(function(data){

})
```

### 判断是websocket否连接
//ws.isConnect() //=> bool

```js
ws.isConnect() //=> true | false
```

0 comments on commit 8afd08e

Please sign in to comment.