Click or drag to resize

PostData Class

Version 130.1.90
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: 129.0.110.0
Syntax
public class PostData : IPostData, IDisposable

The PostData type exposes the following members.

Constructors
 NameDescription
Public methodPostDataInitializes 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 methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates 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 methodToStringReturns 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 Add a new IPostDataElement that represents the key and value
(Defined by PostDataExtensions)
Public Extension MethodAddData 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