Web.HTTPApp.TWebResponse.Sent
Delphi
function Sent: Boolean; virtual;
C++
virtual bool __fastcall Sent();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Web.HTTPApp.pas Web.HTTPApp.hpp |
Web.HTTPApp | TWebResponse |
Description
Indicates whether the HTTP response message has already been sent.
Because SendRedirect and SendStream are abstract (pure virtual) methods for TWebResponse, Sent always returns false. Descendants of TWebResponse override Sent to check whether the message was sent and return true or false as appropriate.
TWebApplication objects read Sent and send unsent responses to the web client.