示例#1
0
 /// <summary>
 /// Initialises a connection to the server.
 /// Returned task is signaled when connection is established.
 /// </summary>
 /// <remarks>
 /// Connect method can be called only once. If client has been disconnected,
 /// new instance must be created to reconnect.
 /// </remarks>
 public async Task Connect()
 {
     await apiConnection.Connect();
 }