Skip to content

TOnUnknownEncodingEvent

Event type for handling unknown content encoding

Declaration

Source position: httpdefs.pp line 481

type
  TOnUnknownEncodingEvent = procedure(Sender: TRequest; 
                                    const ContentType: string; 
                                    Stream: TStream) of object;

Arguments

Name Description
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.