Topic Path: Symbol Reference > Classes > TIdConnectionIntercept Class > TIdConnectionIntercept Events > OnSend Event
TIdConnectionIntercept.OnSend Event

Allows data handling or transformation for intercepted write operations.

property OnSend: TIdInterceptStreamEvent;

OnSend is a TIdInterceptStreamEvent property that represents the event handler signalled when a write operation needs to be performed for the Connection in the connection intercept. 

OnSend is triggered in the Send method, and allows handling or transformation of data in the Send buffer. 

Applications must assign a procedure to the TIdInterceptStreamEvent event handler to allow responding to the event notification. 

Values in the Send buffer are made available to an assigned Intercept after OnSend has completed.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.