Function WebRTCDataChannel.wasStringPacket

Returns true if the last received packet was transferred as text. See writeMode.

bool wasStringPacket() nothrow @nogc const;