summaryrefslogtreecommitdiff
path: root/libsoup/soup-server.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-01-19 10:48:56 -0500
committerDan Winship <danw@gnome.org>2014-06-08 15:15:33 -0400
commit6ab3b9e745d7ecdc5a56ae22c068962cd5d943c6 (patch)
treecd9f6a1da35d80ac7002c9f1c6a75192b4d8d57c /libsoup/soup-server.h
parent62cb41219558c38c29d4c652e738c7790ef45092 (diff)
downloadlibsoup-wip/server-steal.tar.gz
soup-server: add soup_client_context_steal_connection()wip/server-steal
Add a method to allow a SoupServer handler to steal the connection from the server, and use this in simple-proxy to implement CONNECT. Incorporates a patch from Lionel Landwerlin.
Diffstat (limited to 'libsoup/soup-server.h')
-rw-r--r--libsoup/soup-server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsoup/soup-server.h b/libsoup/soup-server.h
index 79f6002c..0ea3adf0 100644
--- a/libsoup/soup-server.h
+++ b/libsoup/soup-server.h
@@ -145,6 +145,8 @@ const char *soup_client_context_get_host (SoupClientContext *clien
SoupAuthDomain *soup_client_context_get_auth_domain (SoupClientContext *client);
const char *soup_client_context_get_auth_user (SoupClientContext *client);
+SOUP_AVAILABLE_IN_2_48
+GIOStream *soup_client_context_steal_connection (SoupClientContext *client);
/* Legacy API */