]> git.saurik.com Git - wxWidgets.git/commitdiff
Document wxHTTP::SetPostBuffer().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 May 2010 12:36:36 +0000 (12:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 May 2010 12:36:36 +0000 (12:36 +0000)
Closes #12040.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/protocol/http.h

index 314b1571a8706f97b66fb8d604f1a6c30fd17e74..b2bb83bcedb579bdd92b66f0752b0ac489a6c696 100644 (file)
@@ -107,7 +107,15 @@ public:
     /**
         Returns @true if there were cookies.
     */
-
     bool HasCookies() const;
+
+    /**
+        Set the data to be posted to the server.
+
+        If a non-empty string is passed to this method, the next request will
+        be an HTTP @c POST instead of the default HTTP @c GET and the data from
+        @a post_buf will be posted as the body of this request.
+     */
+    void SetPostBuffer(const wxString& post_buf);
 };