Skip to content

Commit 1ccd967

Browse files
committed
reorg readme
1 parent 7d4e5b4 commit 1ccd967

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ message::list li("arg1");
6868
li.push(string_message::create("arg2"));
6969
socket->emit("new va",li);// support io.on("new va",function(arg1,arg2){}); style in server side.
7070
```
71+
* Items in `message::list` will be expanded in server side event callback function as function arguments.
7172
7273
Bind a event
7374
```C++
@@ -124,8 +125,6 @@ You can get it's pointer by `client.socket(namespace)`.
124125
125126
Universal event emition interface, by applying implicit conversion magic, it is backward compatible with all previous `emit` interfaces.
126127
127-
* Items in `message::list` will be expanded in server side event callback function as function arguments.
128-
129128
#### Event Bindings
130129
`void on(std::string const& event_name,event_listener const& func)`
131130

0 commit comments

Comments
 (0)