System.Tether.Manager.TTetheringProtocol.OnBeforeSendStream
Delphi
property OnBeforeSendStream: TTetheringStreamEvent read FOnBeforeSendStream write FOnBeforeSendStream;
C++
__property System::Tether::Comm::TTetheringStreamEvent OnBeforeSendStream = {read=FOnBeforeSendStream, write=FOnBeforeSendStream};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProtocol |
Description
Post processing of the stream that occurs before sending the stream to the remote protocol.
Define a function for the OnBeforeSendStream event to process an AInputStream
before sending it to the remote protocol. This function puts the result in the processed AOutputStream
stream.
You need to process the complete stream before sending it.
- Note: Define the inverse function of this event (OnAfterReceiveStream) in the remote protocol.