Click or drag to resize

IPostData Interface

Version 73.1.130
Class used to represent post data for a web request. The methods of this class may be called on any thread.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 73.1.130.0 (73.1.130.0)
Syntax
public interface IPostData : IDisposable

The IPostData type exposes the following members.

Properties
  NameDescription
Public propertyElements
Retrieve the post data elements.
Public propertyHasExcludedElements
Returns true if the underlying POST data includes elements that are not represented by this IPostData object (for example, multi-part file upload data). Modifying IPostData objects with excluded elements may result in the request failing.
Public propertyIsDisposed
Gets a value indicating whether the object has been disposed of.
Public propertyIsReadOnly
Returns true if this object is read-only.
Top
Methods
  NameDescription
Public methodAddElement
Add the specified IPostDataElement.
Public methodCreatePostDataElement
Create a new IPostDataElement instance
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodRemoveElement
Remove the specified IPostDataElement.
Public methodRemoveElements
Remove all existing post data elements.
Top
Extension Methods
  NameDescription
Public Extension MethodAddData(Byte)Overloaded.
Add a new IPostDataElement that represents the key and value
(Defined by PostDataExtensions.)
Public Extension MethodAddData(String, Encoding)Overloaded.
Add a new IPostDataElement that represents the key and value The data is encoded using
(Defined by PostDataExtensions.)
Public Extension MethodAddFile
Add a new IPostDataElement that represents the specified file
(Defined by PostDataExtensions.)
Top
See Also