Click or drag to resize

PostData Class

Version 108.4.130
Class used to represent post data for a web request. The methods of this class may be called on any thread.
Inheritance Hierarchy
SystemObject
  CefSharpPostData

Namespace:  CefSharp
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 108.4.130.0
Syntax
public class PostData : IPostData, IDisposable

The PostData type exposes the following members.

Constructors
  NameDescription
Public methodPostData
Initializes a new instance of the PostData class
Top
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 methodStatic memberCreate
Create a new instance of IPostData
Public methodCreatePostDataElement
Create a new IPostDataElement instance
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveElement
Remove the specified IPostDataElement.
Public methodRemoveElements
Remove all existing post data elements.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnWrap
Used internally to get the underlying IPostData instance. Unlikely you'll use this yourself.
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