Internet Direct (Indy) Version 9.0.2 Beta
TIdGopher.GetMenu
Retrieves the Gopher menu.

function GetMenu(ASelector: String; IsGopherPlus: Boolean; AView: String): TIdGopherMenu;
Parameters
ASelector: String
the selector for the Gopher item or an empty string to get the root item. IsGopherPlus - Server supports Gopher+. Default value is False.

IsGopherPlus: Boolean = False
Alternative view listed. Default value is ''.

AView: String = ''
Returns
TIdGopherMenu - The standard Gopher menu.

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