Function WebRTCDataChannel.getReadyState

Returns the current state of this channel, see channelstate.

WebRTCDataChannel.ChannelState getReadyState() nothrow @nogc const;