Internet Direct (Indy)
Home
PreviousUpNext
TIdConnectionIntercept.OnSend Event

Allows data handling or transformation for intercepted write operations.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.