[libsoup] Small doc updates



commit cbe22dd8c46180d37f860a799c390ef9a00d9f55
Author: Günther Wagner <info gunibert de>
Date:   Sun Nov 14 09:30:33 2021 +0100

    Small doc updates
    
    As libsoup-2.4 the session did took over the reference for sending and reading messages clarify that this 
is not longer the case. The reference has to be cleaned up after the call.

 libsoup/soup-session.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index b4c3d583..ce9bbf9d 100644
--- a/libsoup/soup-session.c
+++ b/libsoup/soup-session.c
@@ -3326,7 +3326,7 @@ soup_session_return_error_if_message_already_in_queue (SoupSession         *sess
 /**
  * soup_session_send_async:
  * @session: a #SoupSession
- * @msg: a #SoupMessage
+ * @msg: (transfer none): a #SoupMessage
  * @io_priority: the I/O priority of the request
  * @cancellable: (nullable): a #GCancellable
  * @callback: (scope async): the callback to invoke
@@ -3417,7 +3417,7 @@ soup_session_send_finish (SoupSession   *session,
 /**
  * soup_session_send:
  * @session: a #SoupSession
- * @msg: a #SoupMessage
+ * @msg: (transfer none): a #SoupMessage
  * @cancellable: (nullable): a #GCancellable
  * @error: return location for a #GError, or %NULL
  *
@@ -3605,7 +3605,7 @@ send_and_read_stream_ready_cb (SoupSession  *session,
 /**
  * soup_session_send_and_read_async:
  * @session: a #SoupSession
- * @msg: a #SoupMessage
+ * @msg: (transfer none): a #SoupMessage
  * @io_priority: the I/O priority of the request
  * @cancellable: (nullable): a #GCancellable
  * @callback: (scope async): the callback to invoke
@@ -3669,7 +3669,7 @@ soup_session_send_and_read_finish (SoupSession  *session,
 /**
  * soup_session_send_and_read:
  * @session: a #SoupSession
- * @msg: a #SoupMessage
+ * @msg: (transfer none): a #SoupMessage
  * @cancellable: (nullable): a #GCancellable
  * @error: return location for a #GError, or %NULL
  *
@@ -4020,7 +4020,7 @@ preconnect_async_complete (SoupMessage *msg,
  * the ownership of the connection and the preconnect operation will finish successfully (if
  * there's a connection error it will be handled by the request).
  *
- * The operation finishes when the connection is done or an error ocurred.
+ * The operation finishes when the connection is done or an error occurred.
  */
 void
 soup_session_preconnect_async (SoupSession        *session,


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