Install the read callback that will receive read events.
Synopsis
Declared in <folly/io/async/AsyncTransport.h>
virtual
void
setReadCB(ReadCallback* callback) = 0;
Parameters
Name |
Description |
callback |
The callback to install, or nullptr to uninstall. |
Created with MrDocs