Chromium Embedded Framework (CEF)
122.1.5+gf09a9bc+chromium-122.0.6261.29
|
Class used to represent post data for a web request. More...
#include "include/cef_request.h"
Public Types | |
typedef std::vector< CefRefPtr< CefPostDataElement > > | ElementVector |
Public Member Functions | |
virtual bool | IsReadOnly ()=0 |
Returns true if this object is read-only. More... | |
virtual bool | HasExcludedElements ()=0 |
Returns true if the underlying POST data includes elements that are not represented by this CefPostData object (for example, multi-part file upload data). More... | |
virtual size_t | GetElementCount ()=0 |
Returns the number of existing post data elements. More... | |
virtual void | GetElements (ElementVector &elements)=0 |
Retrieve the post data elements. More... | |
virtual bool | RemoveElement (CefRefPtr< CefPostDataElement > element)=0 |
Remove the specified post data element. More... | |
virtual bool | AddElement (CefRefPtr< CefPostDataElement > element)=0 |
Add the specified post data element. More... | |
virtual void | RemoveElements ()=0 |
Remove all existing post data elements. More... | |
Public Member Functions inherited from CefBaseRefCounted | |
virtual void | AddRef () const =0 |
Called to increment the reference count for the object. More... | |
virtual bool | Release () const =0 |
Called to decrement the reference count for the object. More... | |
virtual bool | HasOneRef () const =0 |
Returns true if the reference count is 1. More... | |
virtual bool | HasAtLeastOneRef () const =0 |
Returns true if the reference count is at least 1. More... | |
Static Public Member Functions | |
static CefRefPtr< CefPostData > | Create () |
Create a new CefPostData object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CefBaseRefCounted | |
virtual | ~CefBaseRefCounted () |
Class used to represent post data for a web request.
The methods of this class may be called on any thread.
typedef std::vector<CefRefPtr<CefPostDataElement> > CefPostData::ElementVector |
|
pure virtual |
Add the specified post data element.
Returns true if the add succeeds.
|
static |
Create a new CefPostData object.
|
pure virtual |
Returns the number of existing post data elements.
|
pure virtual |
Retrieve the post data elements.
|
pure virtual |
Returns true if the underlying POST data includes elements that are not represented by this CefPostData object (for example, multi-part file upload data).
Modifying CefPostData objects with excluded elements may result in the request failing.
|
pure virtual |
Returns true if this object is read-only.
|
pure virtual |
Remove the specified post data element.
Returns true if the removal succeeds.
|
pure virtual |
Remove all existing post data elements.