DEFAULT_PARSE_COMMAND

DEFAULT_PARSE_COMMAND( FnName, mapClass )

Parameters

FnName

The name of the member function. Also the name of the command.

mapClass

The class name to map the function to.

Remarks

If the request from a client to the CHttpServer object does not contain a command, the DEFAULT_PARSE_COMMAND macro directs the framework to call the default page that’s identified by the FnName parameter.

The DEFAULT_PARSE_COMMAND macro can appear anywhere in the parse map.

See ON_PARSE_COMMAND for a parse map example.

See Also   BEGIN_PARSE_MAP, ON_PARSE_COMMAND, ON_PARSE_COMMAND_PARAMS, END_PARSE_MAP, CHttpServer