Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefPostData

CefBaseRefCounted
   |
   +--CefPostData

   in cef_request.h

class CefPostData
extends CefBaseRefCounted

Class used to represent post data for a web request. The methods of this class may be called on any thread.


Inner Classes, Typedefs, and Enums
typedef CefPostData::ElementVector
          
 
Method Summary
 virtual bool AddElement( CefRefPtr< CefPostDataElement > element )= 0
          Add the specified post data element.
 static CefRefPtr< CefPostData > Create()
          Create a new CefPostData object.
 virtual size_t GetElementCount()= 0
          Returns the number of existing post data elements.
 virtual void GetElements( CefPostData::ElementVector& elements )= 0
          Retrieve the post data elements.
 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).
 virtual bool IsReadOnly()= 0
          Returns true if this object is read-only.
 virtual bool RemoveElement( CefRefPtr< CefPostDataElement > element )= 0
          Remove the specified post data element.
 virtual void RemoveElements()= 0
          Remove all existing post data elements.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

AddElement

public virtual bool AddElement( CefRefPtr< CefPostDataElement > element )= 0;
Add the specified post data element. Returns true if the add succeeds.

Create

public static CefRefPtr< CefPostData > Create();
Create a new CefPostData object.

GetElementCount

public virtual size_t GetElementCount()= 0;
Returns the number of existing post data elements.

GetElements

public virtual void GetElements( CefPostData::ElementVector& elements )= 0;
Retrieve the post data elements.

HasExcludedElements

public 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). Modifying CefPostData objects with excluded elements may result in the request failing.

IsReadOnly

public virtual bool IsReadOnly()= 0;
Returns true if this object is read-only.

RemoveElement

public virtual bool RemoveElement( CefRefPtr< CefPostDataElement > element )= 0;
Remove the specified post data element. Returns true if the removal succeeds.

RemoveElements

public virtual void RemoveElements()= 0;
Remove all existing post data elements.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt