Web.ApacheHTTP.TApacheResponse.SetStatusCode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetStatusCode(Value: Integer); override;

C++

virtual void __fastcall SetStatusCode(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Web.ApacheHTTP.pas
Web.ApacheHTTP.hpp
Web.ApacheHTTP TApacheResponse

Description

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

Web.ApacheHTTP.TApacheResponse.SetStatusCode inherits from Web.HTTPApp.TWebResponse.SetStatusCode. All content below this line refers to Web.HTTPApp.TWebResponse.SetStatusCode.

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