Ejemplo n.º 1
0
 /// <summary>
 /// Set information to current session (API: session-set)
 /// </summary>
 /// <param name="settings">New session settings</param>
 public async void SetSessionSettingsAsync(SessionSettings settings)
 {
     var request = new TransmissionRequest("session-set", settings.ToDictionary());
     var response = await SendRequestAsync(request);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Set information to current session (API: session-set)
 /// </summary>
 /// <param name="settings">New session settings</param>
 public void SetSessionSettings(SessionSettings settings)
 {
     var request = new TransmissionRequest("session-set", settings.ToDictionary());
     var response = SendRequest(request);
 }