diff --git a/README.md b/README.md index 1bd85f31..30d669e0 100755 --- a/README.md +++ b/README.md @@ -68,6 +68,7 @@ message::list li("arg1"); li.push(string_message::create("arg2")); socket->emit("new va",li);// support io.on("new va",function(arg1,arg2){}); style in server side. ``` +* Items in `message::list` will be expanded in server side event callback function as function arguments. Bind a event ```C++ @@ -124,8 +125,6 @@ You can get it's pointer by `client.socket(namespace)`. Universal event emition interface, by applying implicit conversion magic, it is backward compatible with all previous `emit` interfaces. -* Items in `message::list` will be expanded in server side event callback function as function arguments. - #### Event Bindings `void on(std::string const& event_name,event_listener const& func)`