Set the predicate deciding when zero‐copy writes are used.

Synopsis

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

virtual
void
setZeroCopyEnableFunc(ZeroCopyEnableFunc func);

Parameters

Name

Description

func

Predicate invoked to decide when a write uses zero‐copy.

Created with MrDocs