Click or drag to resize

PostDataExtensions Methods

Version 83.4.2

The PostDataExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddData(IPostData, Byte)
Add a new IPostDataElement that represents the key and value
Public methodStatic memberAddData(IPostData, String, Encoding)
Add a new IPostDataElement that represents the key and value The data is encoded using
Public methodStatic memberAddFile
Add a new IPostDataElement that represents the specified file
Public methodStatic memberGetBody
Converts the Bytes property into a string using the specified charset (Encoding) or if unable to parse then uses the Default
Public methodStatic memberGetCharSet
A convenience extension method that extracts the Character set from the content-type header. Can be used in conjuncation with GetBody(IPostDataElement, String)
Top
See Also