Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TOnStreamEncodingEvent

Event type for stream encoding processing

Declaration

Source position: httpdefs.pp line 468

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


Documentation generated on: Jan 16 2026