Web.HTTPApp.TWebResponse.SetStatusCode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetStatusCode(Value: Integer); virtual; abstract;

C++

virtual void __fastcall SetStatusCode(int Value) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebResponse

Description

Provides the abstract (pure virtual) prototype of a method to set the value of the StatusCode property.

Descendants of TWebResponse implement SetStatusCode to provide a method to set the internal representation of the StatusCode property. This method is abstract (pure virtual) because response objects for different types of HTTP applications store the value of the StatusCode property differently.

See Also