SocketTools .NET Edition

HttpClient.HttpStatus Enumeration

Specifies the status values that may be returned by the HttpClient class.

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

Remarks

The HttpClient class uses the HttpStatus enumeration to identify the current status of the client.

Members

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.

Requirements

Namespace: SocketTools

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

See Also

SocketTools Namespace