Chromium Embedded Framework (CEF)
116.0.6+gc182ee2+chromium-116.0.5845.10
|
Class used to represent a single element in the request post data. More...
#include "include/cef_request.h"
Public Types | |
typedef cef_postdataelement_type_t | Type |
Post data elements may represent either bytes or files. More... | |
Public Member Functions | |
virtual bool | IsReadOnly ()=0 |
Returns true if this object is read-only. More... | |
virtual void | SetToEmpty ()=0 |
Remove all contents from the post data element. More... | |
virtual void | SetToFile (const CefString &fileName)=0 |
The post data element will represent a file. More... | |
virtual void | SetToBytes (size_t size, const void *bytes)=0 |
The post data element will represent bytes. More... | |
virtual Type | GetType ()=0 |
Return the type of this post data element. More... | |
virtual CefString | GetFile ()=0 |
Return the file name. More... | |
virtual size_t | GetBytesCount ()=0 |
Return the number of bytes. More... | |
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. 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< CefPostDataElement > | Create () |
Create a new CefPostDataElement object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CefBaseRefCounted | |
virtual | ~CefBaseRefCounted () |
Class used to represent a single element in the request post data.
The methods of this class may be called on any thread.
Post data elements may represent either bytes or files.
|
static |
Create a new CefPostDataElement object.
|
pure virtual |
Read up to |size| bytes into |bytes| and return the number of bytes actually read.
|
pure virtual |
Return the number of bytes.
|
pure virtual |
Return the file name.
|
pure virtual |
Return the type of this post data element.
|
pure virtual |
Returns true if this object is read-only.
|
pure virtual |
The post data element will represent bytes.
The bytes passed in will be copied.
|
pure virtual |
Remove all contents from the post data element.
|
pure virtual |
The post data element will represent a file.