folly::DecoratedAsyncTransportWrapper::setZeroCopyEnableThreshold

Set the zero-copy write threshold on the wrapped transport.

Synopsis

Declared in <folly/io/async/DecoratedAsyncTransportWrapper.h>

virtual
void
setZeroCopyEnableThreshold(size_t threshold) override;

Parameters

NameDescription
thresholdMinimum write size, in bytes, to use zero-copy writes.