Internet Direct (Indy)
Home
PreviousUpNext
TIdDICTOtherEvent Type

Specifies the event type for the DICT OPTION or other unrecognized commands.

Pascal
TIdDICTOtherEvent = procedure (AContext:TIdCommand; Command, Parm:String) of object;
Parameters 
Description 
Thread 
Execution thread performing the command.
 
Command 
Command to be performed.
 
Parm 
Parameters for the command. 

TIdDICTOtherEvent specifies the event type for the DICT OPTION or other unrecognized commands. 

TIdDICTServer uses the OnCommandOption event handler to respond to the DICT OPTION command, which informs the server that the client wishes to utilize one of the defined protocol options. 

At the current time, OPTION MIME is the only recognized option. In the future, standard extensions to this protocol should be proposed which allow the client to request certain content types or encodings. 

OPTION MIME requests that all text responses be prefaced by a MIME header, as described in RFC2045, and followed by a single blank line (CRLF). If a client requests this option, then the client MUST be able to parse Content-Type and Content-transfer-encoding headers, and MUST be able to ignore textual responses which have an unsupported content or encoding. A client MUST support the UTF-8 encoding described in RFC 2044. 

OPTION MIME is a REQUIRED server capability, and all DICT servers MUST implement this command.

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.