VortexReceiveHandler vortex_connection_set_receive_handler VortexConnection connection,
VortexReceiveHandler  receive_handler
 

Allows to configure receive handler use to actually receive data from remote peer.

Parameters:
connection The connection where the receive handler will be set.
receive_handler The receive handler to be set.
Returns:
Returns current receive handler set or NULL if it fails.