Retrieves the Gopher menu.
function GetMenu( ASelector: String; IsGopherPlus: Boolean = False; AView: String = '' ): TIdGopherMenu;
Parameters |
Description |
ASelector |
the selector for the Gopher item or an empty string to get the root item. |
IsGopherPlus |
Server supports Gopher+. Default value is False. |
AView |
Alternative view listed. Default value is ''. |
TIdGopherMenu - The standard Gopher menu.
GetMenu is a TIdGopherMenu function used to retrieve a Gopher Menu. ISGopherPlus should be set to true for Gopher+ servers or false for non-gopher plus servers in case a menu starts with a "+". AView is an alternative view listed for the menu you are retrieving with Gopher+.
The application is responsible for freeing the TIdGopherMenu returned by this function.
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. |