Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void onTextMessageReceived(string)

Declaration

protected virtual void onTextMessageReceived(
    string msg
)

Summary

When overridden in a derived class, handles an incoming text message from the client.

Parameters

stringmsg The text message received from the client.

Remarks

All exceptions thrown by your code are swallowed by default. Wrap your handler in a try/catch in order to handle or log your exceptions.