[libsoup] docs: Fix stream type for soup_message_set_request_body in migration guide
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] docs: Fix stream type for soup_message_set_request_body in migration guide
- Date: Fri, 17 Dec 2021 00:42:29 +0000 (UTC)
commit 9b2435c42870636b0007129cdb1f40a2c66eaacb
Author: Patrick Griffis <pgriffis igalia com>
Date: Fri Dec 17 00:42:28 2021 +0000
docs: Fix stream type for soup_message_set_request_body in migration guide
#255
docs/reference/migrating-from-libsoup-2.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/docs/reference/migrating-from-libsoup-2.xml b/docs/reference/migrating-from-libsoup-2.xml
index 32bb3c49..084c0780 100644
--- a/docs/reference/migrating-from-libsoup-2.xml
+++ b/docs/reference/migrating-from-libsoup-2.xml
@@ -177,7 +177,7 @@ linkend="soup-uri-decode-data-uri"><function>soup_uri_decode_data_uri()</functio
<para>If you want to simply request a buffer and nothing more you can use the
<link
linkend="soup_session_send_and_read"><function>soup_session_send_and_read()</function></link> or
<link
linkend="soup_session_send_and_read_async"><function>soup_session_send_and_read_async()</function></link>
APIs.</para>
- <para>This also applies to writing data where you can set a <link
linkend="GOutputStream"><type>GOutputStream</type></link> using
+ <para>This also applies to writing data where you can set a <link
linkend="GInputStream"><type>GInputStream</type></link> using
<link
linkend="soup_message_set_request_body"><function>soup_message_set_request_body()</function></link> or use
the convenience API
<link
linkend="soup_message_set_request_body_from_bytes"><function>soup_message_set_request_body_from_bytes()</function></link>
to use a GBytes
buffer.</para>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]