Function WebRTCDataChannel.getProtocol
Returns the sub-protocol assigned to this channel during creation. An empty string if not specified.
Returns the sub-protocol assigned to this channel during creation. An empty string if not specified.