Sign in Join
FPDoc Onlineexperiment

TOnStreamEncodingEvent procedure type

In unit HTTPDefs

Event type for stream encoding processing

Declaration

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

Arguments

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.