PostDataExtensions Methods |
The PostDataExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AddData(IPostData, Byte) |
Add a new IPostDataElement that represents the key and value
|
![]() ![]() | AddData(IPostData, String, Encoding) |
Add a new IPostDataElement that represents the key and value
The data is encoded using
|
![]() ![]() | AddFile |
Add a new IPostDataElement that represents the specified file
|
![]() ![]() | GetBody |
Converts the Bytes property into a string
using the specified charset (Encoding) or if unable to parse then uses
the Default |
![]() ![]() | GetCharSet |
A convenience extension method that extracts the Character set from
the content-type header. Can be used in conjuncation with GetBody(IPostDataElement, String) |