# Interface ICefPostData

Description
Hierarchy
Methods

## Unit

uCEFInterfaces

## Declaration

`type ICefPostData = interface(ICefBaseRefCounted)`

## Description

Interface used to represent post data for a web request. 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_t))

## Hierarchy

- IInterface
- ICefBaseRefCounted
- ICefPostData

## Overview

### Methods

Public | `function IsReadOnly: Boolean;`
Public | `function HasExcludedElements: Boolean;`
Public | `function GetElementCount: NativeUInt;`
Public | `procedure GetElements(elementsCount: NativeUInt; var elements: TCefPostDataElementArray);`
Public | `function RemoveElement(const element: ICefPostDataElement): Boolean;`
Public | `function AddElement(const element: ICefPostDataElement): Boolean;`
Public | `procedure RemoveElements;`

## Description

### Methods

Public | `function IsReadOnly: Boolean;`
Returns true (1) if this object is read-only. ###### Attributes GUID['{1E677630-9339-4732-BB99-D6FE4DE4AEC0}']

Public | `function HasExcludedElements: Boolean;`
Returns true (1) if the underlying POST data includes elements that are not represented by this ICefPostData object (for example, multi-part file upload data). Modifying ICefPostData objects with excluded elements may result in the request failing.

Public | `function GetElementCount: NativeUInt;`
Returns the number of existing post data elements.

Public | `procedure GetElements(elementsCount: NativeUInt; var elements: TCefPostDataElementArray);`
Retrieve the post data elements.

Public | `function RemoveElement(const element: ICefPostDataElement): Boolean;`
Remove the specified post data element. Returns true (1) if the removal succeeds.

Public | `function AddElement(const element: ICefPostDataElement): Boolean;`
Add the specified post data element. Returns true (1) if the add succeeds.

Public | `procedure RemoveElements;`
Remove all existing post data elements.

Generated by PasDoc 1.0.4.