Data callback function prototype.
- Parameters
-
| client | The client that called the callback function |
| direction | The direction of the data, either RP_DATA_DIRECTION_OUT or RP_DATA_DIRECTION_IN |
| buffer | The data buffer |
| length | The length of the data buffer |
| user_data | The user_data pointer that was set when registering the callback |