Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl-web]

TResponse

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: httpdefs.pp line 539

type TResponse = class(THTTPHeader)

protected

  procedure DoSendHeaders(); virtual; abstract;

  procedure DoSendContent; virtual; abstract;

  procedure CollectHeaders(); virtual;

public

  constructor Create(); overload;

  destructor destroy; override;

  procedure SendContent;

  procedure SendHeaders;

  procedure SendResponse;

  procedure SendRedirect();

  procedure SetStatus();

  property Request: TRequest; [r]

  property Code: Integer; [rw]

  property CodeText: string; [rw]

  property Age: string; [rw]

  property Allow: string; [rw]

  property CacheControl: string; [rw]

  property ContentLocation: string; [rw]

  property ContentMD5: string; [rw]

  property ContentRange: string; [rw]

  property ETag: string; [rw]

  property ProxyAuthenticate: string; [rw]

  property RetryAfter: string; [rw]

  property FirstHeaderLine: string; [rw]

  property ContentStream: TStream; [rw]

  property Content: RawByteString; [rw]

  property Contents: TStrings; [rw]

  property HeadersSent: Boolean; [r]

  property ContentSent: Boolean; [r]

  property Cookies: TCookies; [r]

  property FreeContentStream: Boolean; [rw]

end;

Inheritance

TResponse

|

THTTPHeader

|

TObject


Documentation generated on: 2023-03-18