Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
add disconnect method to readme
  • Loading branch information
timum-viw authored Sep 28, 2017
1 parent 8669f22 commit 1ce74c1
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 @@ -42,6 +42,13 @@ open SSL connection to socket.io server.
socket.begin("my.socket-io.server", 443, "/socket.io/?transport=websocket", "26 96 1C 2A 51 07 FD 15 80 96 93 AE F7 32 CE B9 0D 01 55 C4");
```

### SocketIoClient::disconnect()
disconnect from the server
##### Example
```c
socket.disconnect();
```

### SocketIoClient::on(event, callback)
binds a function to an event.
##### Parameter
Expand Down

0 comments on commit 1ce74c1

Please sign in to comment.