/// <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); }
/// <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); }