SocketTools .NET Edition

HttpClient.HttpPostOptions Enumeration

Specifies options that the HttpClient class supports when posting data to a server.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
Public Enum HttpClient.HttpPostOptions
[C#]
[Flags]
public enum HttpClient.HttpPostOptions

Remarks

The HttpClient class uses the HttpPostOptions enumeration to specify one or more options to be used when posting data to the server. Multiple options may be specified if necessary.

Members

Member Name Description Value
postDefault The default post mode. The contents of the buffer are encoded and sent as standard form data. The data returned by the server is copied to the result buffer exactly as it is returned from the server. 0
postConvert If the data being returned from the server is textual, it is automatically converted so that the end of line character sequence is compatible with the Windows platform. Individual carriage return or linefeed characters are converted to carriage return/linefeed character sequences. Note that this option does not have any effect on the form data being submitted to the server, only on the data returned by the server. 1
postMultipart The contents of the buffer being sent to the server consists of multipart form data and will be sent as-is without any encoding. 2

Requirements

Namespace: SocketTools

Assembly: SocketTools.HttpClient (in SocketTools.HttpClient.dll)

See Also

SocketTools Namespace