SocketTools .NET Edition

HttpClient.HttpFormType Enumeration

Specifies the form types supported by the HttpClient class when submitting form data to a server.

[Visual Basic]
Public Enum HttpClient.HttpFormType
[C#]
public enum HttpClient.HttpFormType

Remarks

The HttpClient class uses the HttpFormType enumeration to specify how form data that should be submitted to a server for processing.

Members

Member Name Description
formDefault The form data should be submitted using the default encoding method.
formEncoded The form data should be submitted as URL encoded values. This is typically used when the GET method is used to submit the data to the server.
formMultipart The form data should be submitted as multipart form data. This is typically used when the POST method is used to submit a file to the server. Note that the script must understand how to process multipart form data if this form type is specified.

Requirements

Namespace: SocketTools

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

See Also

SocketTools Namespace