Function WebSocketPeer.wasStringPacket

Returns true if the last received packet was sent as a text payload. See writemode.

bool wasStringPacket() nothrow @nogc const;