summaryrefslogtreecommitdiff
path: root/libsoup/soup-proxy-resolver-default.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-12-14 09:54:36 -0500
committerDan Winship <danw@gnome.org>2012-12-28 11:26:46 -0500
commit967dcc28f43cd47a75b7ff2c069807edb9929400 (patch)
tree55f7a6fbaa6b5077c3073cfbed5693f104881478 /libsoup/soup-proxy-resolver-default.c
parent2357f3501718967003914da4f1f7659b6593aa0d (diff)
downloadlibsoup-967dcc28f43cd47a75b7ff2c069807edb9929400.tar.gz
SoupSession: update docs (and some semantics) for plain SoupSession
Update the docs to reflect the changes in plain SoupSessions vs its traditional subclasses. And while we're there, add a few new ones (including making soup_session_queue_message() and soup_session_send_message() work on plain SoupSession.
Diffstat (limited to 'libsoup/soup-proxy-resolver-default.c')
-rw-r--r--libsoup/soup-proxy-resolver-default.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libsoup/soup-proxy-resolver-default.c b/libsoup/soup-proxy-resolver-default.c
index 0fc8780c..ee3b102b 100644
--- a/libsoup/soup-proxy-resolver-default.c
+++ b/libsoup/soup-proxy-resolver-default.c
@@ -19,6 +19,15 @@
* #SoupProxyResolverDefault is a #SoupProxyURIResolver implementation
* that uses the default gio GProxyResolver to resolve proxies.
*
+ * If you are using a plain #SoupSession (ie, not #SoupSessionAsync or
+ * #SoupSessionSync), then a #SoupProxyResolverDefault will
+ * automatically be added to the session. (You can use
+ * %SOUP_SESSION_REMOVE_FEATURE_BY_TYPE at construct time if you don't
+ * want this.) If you are using one of the deprecated #SoupSession
+ * subclasses, you can add a #SoupProxyResolverDefault to your session
+ * with soup_session_add_feature() or
+ * soup_session_add_feature_by_type().
+ *
* Since: 2.34
*/