Internet Direct (Indy) Version 9.0.2 Beta
TIdConnectionIntercept.OnSend
Allows data handling or transformation for intercepted write operations.

property OnSend: TIdInterceptStreamEvent;
Description
OnSend is a TIdInterceptStreamEvent property that represents the event handler signalled when a write operation needs to be performed for the socket descriptor in Connection. OnSend is triggered in the Send 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.