Permalink
Browse files

update README timeout listener

  • Loading branch information...
1 parent 85d9c04 commit 265f817ad2317189f490db4baa12aaf646f698a0 @fantasyni fantasyni committed Nov 28, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
View
7 README.md
@@ -42,6 +42,13 @@ void on_close(pc_client_t *client, const char *event, void *data) {
}
```
+###Pomelo defined listeners
+```
+#define PC_EVENT_DISCONNECT "disconnect"
+#define PC_EVENT_TIMEOUT "timeout"
+#define PC_EVENT_KICK "onKick"
+```
+
###Connect to server
``` c

0 comments on commit 265f817

Please sign in to comment.