Topic Path: Symbol Reference > Classes > TIdNNTP Class > TIdNNTP Methods > IsExtCmdSupported Method
ContentsIndexHome
PreviousUpNext
TIdNNTP.IsExtCmdSupported Method

Indicates if an NNTP extension command is supported for the server.

function IsExtCmdSupported(
    AExtension: String
): Boolean;
Parameters 
Description 
AExtension 
Command to checked for in the NNTP extensions. 

Boolean - True when the command is included in the capabilities for the server.

IsExtCmdSupported is a Boolean function used to determine when the NNTP extension command in AExtension is included in the server capabilities for the connection. 

IsExtCmdSupported returns True when the command in AExtension has been included in the Capabilities property. AExtension is converted to uppercase when performing comparisions to values in Capabilities

Capabilities is updated when after a new connection is established to the server in Connect, and the server implements the NNTP LIST EXTENSIONS command. 

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.