API:Datasnap.DSHTTP.TDSHTTPServerTransport.OnFormatResult

De RAD Studio API Documentation

Delphi

property OnFormatResult: TDSRESTResultEvent read GetResultEvent write SetResultEvent;

C++

__property OnFormatResult;

Propriétés

Type Visibilité  Source Unité  Parent
event published
Datasnap.DSHTTP.pas
Datasnap.DSHTTP.hpp
Datasnap.DSHTTP TDSHTTPServerTransport

Description

Evénement à appeler lorsqu'un appel REST fait construire son résultat. {{#multireplace:Datasnap.DSHTTP.TDSHTTPServerTransport.OnFormatResult|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} hérite de {{#multireplace:Datasnap.DSHTTP.TCustomDSRESTServerTransport.OnFormatResult|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. Tout le contenu en-dessous de cette ligne se réfère à {{#multireplace:Datasnap.DSHTTP.TCustomDSRESTServerTransport.OnFormatResult|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Evénement à appeler lorsqu'un appel REST fait construire son résultat.

OnFormatResult est un événement à appeler lorsqu'un appel REST fait construire son résultat. Le résultat peut être modifié par cet événement, en changeant son format ou son contenu.

Voir aussi