Internet Direct (Indy) Version 9.0.2 Beta
TIdGopher.GetExtendedMenu
Gets the Gopher+ extended menu.

function GetExtendedMenu(ASelector: String; AView: String): TIdGopherMenu;
Parameters
ASelector: String
the selector used to retrieve the gopher menu AView - alternative views listed for the item you are retrieving for a Gopher + server.

AView: String = ''
Returns
TIdGopherMenu - Gopher+ extended menu or standard menu.

Description
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.