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.

connectionThe connection where the pre read will be executed.
pre_accept_handlerThe handler to be executed. If NULL is used, the handler is no longer executed.

Referenced by vortex_external_listener_new(), and vortex_websocket_listener_new().