onSessionEstablished (event)
This event is fired when a new session has been established.
Syntax
- (void)onSessionEstablished:(long long)connectionID :(NSString*)username;
func onSessionEstablished(_ connectionID: Int64, _ username: String)
Remarks
ConnectionID contains the identifier of the new session, Username specifies the client's address and Username.