summaryrefslogtreecommitdiff
path: root/libsoup/soup-message-client-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsoup/soup-message-client-io.c')
-rw-r--r--libsoup/soup-message-client-io.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libsoup/soup-message-client-io.c b/libsoup/soup-message-client-io.c
index 8dd171a2..fdc64294 100644
--- a/libsoup/soup-message-client-io.c
+++ b/libsoup/soup-message-client-io.c
@@ -157,6 +157,17 @@ get_request_headers (SoupMessage *req, GString *header,
req->priv->msg_flags |= SOUP_MESSAGE_EXPECT_CONTINUE;
}
+/**
+ * soup_message_send_request:
+ * @req: a #SoupMessage
+ * @sock: the #SoupSocket to send @req on
+ * @is_via_proxy: %TRUE if @sock is a connection to a proxy server
+ * rather than a direct connection to the desired HTTP server
+ *
+ * Begins the process of sending @msg across @sock. (If @sock is
+ * synchronous, then soup_message_send_request() won't return until
+ * the response has been received.)
+ **/
void
soup_message_send_request (SoupMessage *req, SoupSocket *sock,
gboolean is_via_proxy)