Sign in Join
FPDoc Onlineexperiment

TOnUnknownEncodingEvent procedure type

In unit HTTPDefs

Event type for handling unknown content encoding

Declaration

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

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