Internet Direct (Indy) Version 9.0.1 Beta
TIdRFCReply
Represents an RFC-compliant response code and text.

TIdRFCReply = class(TPersistent)
Description
TIdRFCReply is a TPersistent descendant that implements an RFC-compliant response that consists of a NumericCode and/or one or more lines of Text. TIdRFCReply is used by Indy servers and command handlers to represent the responses used for the specific protocol.

The NumericCode in TIdRFCReply is an optional value, and can be omitted when only the Text portion of a response is significant in the protocol.

Text can contain multiple lines, and is generated using the continuation response mechanism common to many RFC-compliant protocols. For example, a response with the NumericCode of 200 and multiple lines in Text might be sent like the following:


    200-You were connected
    200-Your session started
    200 Ok