Interface ICefPostDataElement

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type ICefPostDataElement = interface(ICefBaseRefCounted)

Description

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

UNKNOWN

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_request_capi.h">CEF source file: /include/capi/cef_request_capi.h (cef_post_data_element_t))

Hierarchy

Overview

Methods

Public function IsReadOnly: Boolean;
Public procedure SetToEmpty;
Public procedure SetToFile(const fileName: ustring);
Public procedure SetToBytes(size: NativeUInt; const bytes: Pointer);
Public function GetType: TCefPostDataElementType;
Public function GetFile: ustring;
Public function GetBytesCount: NativeUInt;
Public function GetBytes(size: NativeUInt; bytes: Pointer): NativeUInt;

Description

Methods

Public function IsReadOnly: Boolean;

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

Attributes
GUID['{3353D1B8-0300-4ADC-8D74-4FF31C77D13C}']
Public procedure SetToEmpty;

Remove all contents from the post data element.

Public procedure SetToFile(const fileName: ustring);

The post data element will represent a file.

Public procedure SetToBytes(size: NativeUInt; const bytes: Pointer);

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

Public function GetType: TCefPostDataElementType;

Return the type of this post data element.

Public function GetFile: ustring;

Return the file name.

Public function GetBytesCount: NativeUInt;

Return the number of bytes.

Public function GetBytes(size: NativeUInt; bytes: Pointer): NativeUInt;

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


Generated by PasDoc 0.16.0-snapshot.