|
CEF C++ API Docs - Revision 1123 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CefBase | +--CefPostDataElementin cef_request.h
Class used to represent a single element in the request post data. The methods of this class may be called on any thread.
Inner Classes, Typedefs, and Enums | |
typedef |
CefPostDataElement::Type
Post data elements may represent either bytes or files. |
Method Summary | |
static CefRefPtr< CefPostDataElement > |
CreatePostDataElement()
Create a new CefPostDataElement object. |
virtual size_t |
GetBytes( size_t size, void* bytes )= 0
Read up to |size| bytes into |bytes| and return the number of bytes actually read. |
virtual size_t |
GetBytesCount()= 0
Return the number of bytes. |
virtual CefString |
GetFile()= 0
Return the file name. |
virtual CefPostDataElement::Type |
GetType()= 0
Return the type of this post data element. |
virtual void |
SetToBytes( size_t size, const void* bytes )= 0
The post data element will represent bytes. |
virtual void |
SetToEmpty()= 0
Remove all contents from the post data element. |
virtual void |
SetToFile( const CefString& fileName )= 0
The post data element will represent a file. |
Methods inherited from class CefBase |
AddRef, Release, GetRefCt |
Method Detail |
public static CefRefPtr< CefPostDataElement > CreatePostDataElement();
public virtual size_t GetBytes( size_t size, void* bytes )= 0;
public virtual size_t GetBytesCount()= 0;
public virtual CefString GetFile()= 0;
public virtual CefPostDataElement::Type GetType()= 0;
public virtual void SetToBytes( size_t size, const void* bytes )= 0;
public virtual void SetToEmpty()= 0;
public virtual void SetToFile( const CefString& fileName )= 0;
|
CEF C++ API Docs - Revision 1123 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |