Description
-
Shows friendly string of a state.
Return Type
-
A String value.
Syntax
-
object.StateString
(StateNo)
The StateString Method syntax has these parts:
| object |
An expression
evaluating to an object of type wodHttpDLX. |
| StateNo |
Required. A HttpStates
enumeration, as described in settings. Represents state
number. |
Settings
-
The settings for StateNo are:
 |
StateNotConnected |
0 |
Not connected. |
 |
StateConnecting |
1 |
Connecting to server. |
 |
StateConnected |
2 |
Connected - idle. |
 |
StateSendingHeaders |
3 |
Sending Headers data. |
 |
StateSendingBody |
4 |
Sending body data. |
 |
StateWaitingResponse |
5 |
Waiting for response from
the server. |
 |
StateReceivingHeaders |
6 |
Receiving Headers
data. |
 |
StateReceivingBody |
7 |
Receiving body data. |
 |
StateDisconnecting |
8 |
Disconnecting. |
Remarks
-
This property returns a string expression that tells the
current state of the control, or any state indexed by
StateNo argument.
|