SocketTools .NET Edition

HttpClient.HttpTransferOptions Enumeration

Specifies the data transfer options that the HttpClient class supports.

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

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

Remarks

The HttpClient class uses the HttpTransferOptions enumeration to specify one or more options to be used when transferring data between the local system and the server. Multiple options may be specified if necessary.

Members

Member Name Description Value
transferDefault The default transfer mode. The resource data is copied to the local system exactly as it is stored on the server. 0
transferConvert If the resource being downloaded from the server is textual, the data 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. 1
transferCompress This option informs the server that the client is willing to accept compressed data. If the server supports compression for the specified resource, then the data will be automatically expanded before being returned to the caller. This option is selected by default if compression has been enabled by setting the Compression property to True. 2

Requirements

Namespace: SocketTools

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

See Also

SocketTools Namespace