private static async Task StartConnectionAsync() { _strategy = new StringMethodInvocationStrategy(); _connection = new Connection(_strategy); await _connection.StartConnectionAsync("ws://" + link + "/chat"); }
public static async Task StartConnectionAsync() { _strategy = new StringMethodInvocationStrategy(); _connection = new Connection(_strategy); await _connection.StartConnectionAsync("ws://localhost:65110/chat"); }