Dart SDK
dart:io
WebSocket
readyState
property
readyState
WebSocket
Constants
CONNECTING
OPEN
CLOSING
CLOSED
Static methods
connect
Properties
pingInterval
readyState
extensions
protocol
closeCode
closeReason
done
isEmpty
isBroadcast
first
last
single
length
Constructors
WebSocket
fromUpgradedSocket
Methods
close
add
addStream
pipe
take
map
listen
timeout
distinct
takeWhile
fold
toSet
firstWhere
forEach
skipWhile
join
contains
asyncExpand
addError
lastWhere
singleWhere
drain
asyncMap
handleError
reduce
transform
every
any
toList
where
asBroadcastStream
skip
expand
elementAt
int
readyState
read-only
Returns the current state of the connection.