Skip to content

TOnStreamEncodingEvent

Event type for stream encoding processing

Declaration

Source position: httpdefs.pp line 480

type
  TOnStreamEncodingEvent = procedure(Sender: TRequest; 
                                   const State: TContentStreamingState; 
                                   const Buf; const Size: Integer)
                                    of object;

Arguments

Name Description
Sender Object that triggered the stream encoding event
State Current streaming state
Buf Buffer containing stream data
Size Size of the stream buffer

Description

TOnStreamEncodingEvent is an event type called during stream content encoding processing. It provides access to the encoding state, buffer data, and size for custom processing of streamed content.