public static Task <Stinto> CreateAsync(string room, ConnectEventHandler OnConnect, DisconnectEventHandler OnDisconnect) { var server = new Stinto(OnConnect, OnDisconnect); return(server.InitializeAsync(room)); }
public static Task <Stinto> CreateAsync(Func <string, Task> RoomCreated, ConnectEventHandler OnConnect, DisconnectEventHandler OnDisconnect) { var server = new Stinto(OnConnect, OnDisconnect); return(server.InitializeAsync(RoomCreated)); }