Specifies the encoding types supported by the HttpClient class.
The HttpClient class uses the HttpEncoding enumeration to specify the type of encoding to be used when data is submitted to the server for processing.
| Member Name | Description |
|---|---|
| encodingNone | No encoding will be applied to the content of a request, and no Content-Type header will be generated. |
| encodingURL | Standard URL encoding will be applied to the content of a request, and a Content-Type header will be generated with the value "application/x-www-form-urlencoded". This is the default encoding type. |
| encodingXML | Standard URL encoding will be applied to the content of a request, except that spaces will not be replaced by '+'. This encoding type is intended for use with XML parsers that do not recognize '+' as a space. A Content-Type header will be generated with the value "application/x-www-form-urlencoded". |
Namespace: SocketTools
Assembly: SocketTools.HttpClient (in SocketTools.HttpClient.dll)