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

TOnUnknownEncodingEvent

Event type for handling unknown content encoding

Declaration

Source position: httpdefs.pp line 469

type TOnUnknownEncodingEvent = procedure(

  Sender: TRequest;

  const ContentType: string;

  Stream: TStream

) of object;

Arguments

Sender

  

Object that triggered the unknown encoding event

ContentType

  

Content type that could not be recognized

Stream

  

Stream containing the unknown encoded content

Description

TOnUnknownEncodingEvent is an event type triggered when unknown content encoding is encountered. It allows custom handling of content with unrecognized encoding through the provided stream.


Documentation generated on: Jan 16 2026