// Purpose: interface of wxHTTP
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
/**
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);
};