folly::Optional< TLSMessage > read(folly::IOBufQueue &buf) override
virtual void setSkipEncryptedRecords(bool enabled)
~PlaintextReadRecordLayer() override=default
EncryptionLevel getEncryptionLevel() const override
folly::Optional< ProtocolVersion > receivedRecordVersion_
bool skipEncryptedRecords_
folly::Optional< ProtocolVersion > getReceivedRecordVersion() const