|
Internet Direct (Indy)
|
Gets the Gopher+ extended menu.
function GetExtendedMenu(
ASelector: String;
AView: String = ''
): TIdGopherMenu;|
Parameters |
Description |
|
ASelector |
the selector used to retrieve the gopher menu |
|
AView |
alternative views listed for the item you are retrieving for a Gopher + server. |
TIdGopherMenu - Gopher+ extended menu or standard menu.
GetExtendedMenu is a TIdGopherMenu function that gets an extended Gopher+ menu including additional Gopher+ information. GetExtendedMenu will also retrieve the standard Gopher menu if the server does not support Gopher+.
We do not recommend that you use this procedure unless you are sure the server supports Gopher+ because a constant used in the Gopher+ Protocol greeting will conflict with the menu item type constant IdGopherItem_Redundant which could appear in the menu as a first item.
To determine if a Gopher Server supports Gopher+, use the TIdGopherMenuItem.GopherPlusItem property from the gopher menu which is referring to the item you want.
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. |