Specifies the status values that may be returned by the HttpClient class.
The HttpClient class uses the HttpStatus enumeration to identify the current status of the client.
Member Name | Description |
---|---|
statusUnused | A client session has not been created. Attempts to perform any network operations, such as sending or receiving data, will generate an error. |
statusIdle | A client session has been created, but is not currently in use. A blocking socket operation can be executed at this point. |
statusConnect | The client is in the process of establishing a connection with a remote host. |
statusRead | The client is in the process of receiving data from a remote host. |
statusWrite | The client is in the process of sending data to a remote host. |
statusDisconnect | The client session is being closed and subsequent attempts to access the client will result in an error. |
statusGetData | The client is downloading data from the server to the local system. |
statusPutData | The client is uploading data from the local system to the server. |
statusPostData | The client is posting form data to the server. |
Namespace: SocketTools
Assembly: SocketTools.HttpClient (in SocketTools.HttpClient.dll)