Back to product page

StateString method


Shows friendly string of a state.

Type

A String value

Syntax

  • Basic
object.StateString (StateNo)
The StateString(object,StateNo) syntax has these parts:
objectAn expression evaluating to an object of type wodHttpDLX.
StateNoRequired. A HttpStates enumeration, as described in settings. Represents state number.

Remarks

The settings for StateNo are:

Constant Value Description
StateNotConnected0 Not connected.
StateConnecting 1 Connecting to server.
StateConnected2 Connected - idle.
StateSendingHeaders 3 Sending Headers data.
StateSendingBody4 Sending body data.
StateWaitingResponse 5 Waiting for response from the server.
StateReceivingHeaders6 Receiving Headers data.
StateReceivingBody 7 Receiving body data.
StateDisconnecting8 Disconnecting.


This property returns a string expression that tells the current state of the control, or any state indexed by StateNo argument.

Platforms

Windows