TROSuperHTTPServerResponse

Overview

The TROSuperHTTPServerResponse class implements the IROSuperHTTPServerResponse interface and is used for sending server responses like events etc.

The TROSuperHTTPServerResponse class is not designed to be used outside the Remoting SDK.

Location

Implements

Properties


Attempt

Current attempt. Only 16 attempts are allowed.

property Attempt: Integer read write

Connection

Current connection.

property Connection: IROSuperHTTPServerConnection read write

Data

Response content.

property Data: TBytes read write

Headers

HTTP response headers.

property Headers: TIPHTTPResponseHeaders read write

Instance Methods


constructor Create

Creates a new instance.

constructor Create(aConn: IROSuperHTTPServerConnection; aHeaders: TIPHTTPResponseHeaders)

Parameters:

  • aConn: Connection
  • aHeaders: Response headers

See Also