Chromium Embedded Framework (CEF)  131.2.1+ge081753+chromium-131.0.6778.13
CefPostData Class Referenceabstract

Class used to represent post data for a web request. More...

#include "include/cef_request.h"

Inheritance diagram for CefPostData:
CefBaseRefCounted

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< CefPostDataCreate ()
 Create a new CefPostData object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Class used to represent post data for a web request.

The methods of this class may be called on any thread.

Member Typedef Documentation

◆ ElementVector

Member Function Documentation

◆ AddElement()

virtual bool CefPostData::AddElement ( CefRefPtr< CefPostDataElement element)
pure virtual

Add the specified post data element.

Returns true if the add succeeds.

◆ Create()

static CefRefPtr<CefPostData> CefPostData::Create ( )
static

Create a new CefPostData object.

◆ GetElementCount()

virtual size_t CefPostData::GetElementCount ( )
pure virtual

Returns the number of existing post data elements.

◆ GetElements()

virtual void CefPostData::GetElements ( ElementVector elements)
pure virtual

Retrieve the post data elements.

◆ HasExcludedElements()

virtual bool CefPostData::HasExcludedElements ( )
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.

◆ IsReadOnly()

virtual bool CefPostData::IsReadOnly ( )
pure virtual

Returns true if this object is read-only.

◆ RemoveElement()

virtual bool CefPostData::RemoveElement ( CefRefPtr< CefPostDataElement element)
pure virtual

Remove the specified post data element.

Returns true if the removal succeeds.

◆ RemoveElements()

virtual void CefPostData::RemoveElements ( )
pure virtual

Remove all existing post data elements.


The documentation for this class was generated from the following file: