fixed formatting
This commit is contained in:
parent
fbed93b8d9
commit
8b712f4da8
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ or specifying everything UDP
|
||||||
|error|err obj|triggered when an error has occured|
|
|error|err obj|triggered when an error has occured|
|
||||||
|connect||triggered when socket connected|
|
|connect||triggered when socket connected|
|
||||||
|disconnect||triggered by client when socket has disconnected from server|
|
|disconnect||triggered by client when socket has disconnected from server|
|
||||||
|socket.disconnected||socket destroyedSocketID||trigger by server when a client socket has disconnected|
|
|socket.disconnected|socket destroyedSocketID|triggered by server when a client socket has disconnected|
|
||||||
|destroy||triggered when socket has been totally destroyed, no further auto retries will happen and all references are gone.|
|
|destroy||triggered when socket has been totally destroyed, no further auto retries will happen and all references are gone.|
|
||||||
|data|buffer|triggered when ipc.config.rawBuffer is true and a message is received.|
|
|data|buffer|triggered when ipc.config.rawBuffer is true and a message is received.|
|
||||||
|***your event type***|***your event data***|triggered when a JSON message is received. The event name will be the type string from your message and the param will be the data object from your message eg : ` { type:'myEvent',data:{a:1}} ` |
|
|***your event type***|***your event data***|triggered when a JSON message is received. The event name will be the type string from your message and the param will be the data object from your message eg : ` { type:'myEvent',data:{a:1}} ` |
|
||||||
|
|
Loading…
Reference in a new issue