state property

String? state
getter/setter pair

Network connection state. Possible string values are:

  • "STATE_UNSPECIFIED" : Connection state is unknown or unspecified.
  • "OPENING" : The connection is being opened.
  • "OPEN" : The connection is open.
  • "LISTEN" : Listening for incoming connections.
  • "CLOSING" : The connection is being closed.
  • "CLOSED" : The connection is closed.

Implementation

core.String? state;