X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ba5f32918f1e94246d62258b52b87dbabaeea54..5e0e1372fdbb5e9325cadc8be2f69ae0e849a9cc:/interface/wx/protocol/http.h?ds=sidebyside diff --git a/interface/wx/protocol/http.h b/interface/wx/protocol/http.h index 314b1571a8..54ffb45821 100644 --- a/interface/wx/protocol/http.h +++ b/interface/wx/protocol/http.h @@ -3,7 +3,7 @@ // Purpose: interface of wxHTTP // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -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); };