void vortex_connection_set_preread_handler VortexConnection connection,
VortexConnectionOnPreRead  pre_accept_handler
 

Allows to configure a handler to be executed before any operations is applied inside the Vortex Reader process.

Parameters:
connection The connection where the pre read will be executed.
pre_accept_handler The handler to be executed. If NULL is used, the handler is no longer executed.