[grilo/wip/hadess/throttling-docs: 2/2] net: Document changed "throttling" property behaviour




commit 116a19256b1c63e75aa43eeecae084d5b1af6fcf
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jul 6 17:39:03 2022 +0200

    net: Document changed "throttling" property behaviour
    
    We needed to change the runtime behaviour when compiled against libsoup3
    to avoid an API/ABI change.

 libs/net/grl-net-wc.c | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/libs/net/grl-net-wc.c b/libs/net/grl-net-wc.c
index 20de7a9..d49351d 100644
--- a/libs/net/grl-net-wc.c
+++ b/libs/net/grl-net-wc.c
@@ -129,6 +129,10 @@ grl_net_wc_class_init (GrlNetWcClass *klass)
    *
    * The timeout in seconds between connections. All the connections will be
    * queued and each one will be dispatched after waiting this value.
+   *
+   * Note that if the grl-net library was compiled against libsoup3, changing
+   * the throttling configuration will show a warning if done after the first
+   * request.
    */
   g_object_class_install_property (g_klass,
                                    PROP_THROTTLING,
@@ -1099,6 +1103,10 @@ grl_net_wc_set_log_level (GrlNetWc *self,
  *
  * Setting this property, the #GrlNetWc will queue all the requests and
  * will dispatch them with a pause between them of this value.
+ *
+ * Note that if the grl-net library was compiled against libsoup3, changing
+ * the throttling configuration will show a warning if done after the first
+ * request.
  */
 void
 grl_net_wc_set_throttling (GrlNetWc *self,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]