The OpenD Programming Language

cef_post_data_element_t

Structure used to represent a single element in the request post data. The functions of this structure may be called on any thread.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_bytes
size_t function(cef_post_data_element_t* self, size_t size, void* bytes) nothrow get_bytes;

Read up to |size| bytes into |bytes| and return the number of bytes actually read.

get_bytes_count
size_t function(cef_post_data_element_t* self) nothrow get_bytes_count;

Return the number of bytes.

get_file
cef_string_userfree_t function(cef_post_data_element_t* self) nothrow get_file;

Return the file name.

get_type
cef_postdataelement_type_t function(cef_post_data_element_t* self) nothrow get_type;

Return the type of this post data element.

is_read_only
int function(cef_post_data_element_t* self) nothrow is_read_only;

Returns true (1) if this object is read-only.

set_to_bytes
void function(cef_post_data_element_t* self, size_t size, const(void)* bytes) nothrow set_to_bytes;

The post data element will represent bytes. The bytes passed in will be copied.

set_to_empty
void function(cef_post_data_element_t* self) nothrow set_to_empty;

Remove all contents from the post data element.

set_to_file
void function(cef_post_data_element_t* self, const(cef_string_t)* fileName) nothrow set_to_file;

The post data element will represent a file.

Meta