Internet Direct (Indy)
Home
PreviousUpNext
TIdReplyRFC.IsEndMarker Method
Pascal
class function IsEndMarker(
    const ALine: string
): Boolean; override;
Parameters 
Description 
ALine 
Values to examine for the end-marker. 

Boolean - True the line does not contain a continuation response.

IsEndMarker is an overridden Boolean function used to indicate when the RFC-compliant protocol response contains a terminal response instead of a continuation response. 

IsEndMarker examines the value in ALine to determine if it contains a continuation mark for the protocol response. 

IsEndMarker returns True when ALine contains at least 4 characters where the fourth character is a space (CHAR32). 

For example, a response line 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

 

IsEndMarker would return False for the first two lines, and return True for the thired line.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.