Indy 9 | Content | Index | Reference

TPlusRequestEvent
Unit: IdGopherServer
Gopher+ request event.

    TPlusRequestEvent = procedure (AThread: TIdPeerThread;ARequest:String; APlusData : String) of object;

Unit
IdGopherServer
Parameters
APlusData
The Gopher+ command and additional information.
ARequest
The gopher selector for the item being requested
AThread
Thread for the current client connection
Description
TPlusRequestEvent is the event type used to signal a Gopher request for a Gopher connection.

APlusData includes the Gopher+ command in the first byte, and additional information such as a requested View for an item or ASK block data sent from the client.

TIdGopherServer.OnPlusRequest is the event handler used to allow the application to respond to the event notification.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.