Specifies the methods supported by the HttpClient class when submitting form data to a server.
The HttpClient class uses the HttpFormMethod enumeration to specify the method that should be used when submitting form data to a server for processing.
| Member Name | Description |
|---|---|
| methodDefault | The form data should be submitted using the default method, using the GET command. |
| methodGet | The form data should be submitted using the GET command. This method should be used when the amount of form data is relatively small. If the total amount of form data exceeds 2048 bytes, it is recommended that the POST method be used instead. |
| methodPost | The form data should be submitted using the POST command. This is the preferred method of submitting larger amounts of form data. If the total amount of form data exceeds 2048 bytes, it is recommended that the POST method be used. |
Namespace: SocketTools
Assembly: SocketTools.HttpClient (in SocketTools.HttpClient.dll)