Allows data handling or transformation for intercepted read operations.
property OnReceive: TIdInterceptStreamEvent;
Description
OnReceive is a TIdInterceptStreamEvent property that represents the event handler signalled when a read operation needs to be performed for the socket descriptor in Connection. OnReceive is triggered in the Receive method, and allows handling or transformation of buffered data in a TStream instance.
Applications must assign a procedure to the TIdInterceptStreamEvent event handler to allow responding to the event notification.