afxisapi.h has CHttpServer with parse maps (BEGIN_PARSE_MAP,
ON_PARSE_COMMAND, ON_PARSE_COMMAND_PARAMS, DEFAULT_PARSE_COMMAND and the
ITS_ argument types), CHttpServerContext, CHttpFilter and
CHttpFilterContext, CHtmlStream, and the functions an ISAPI DLL
exports, in a file of their own so a DLL links them only when its .def
exports them.
A command's arguments come by position or by name, with defaults from
its parameter list, from the query string and posted form data; each is
read as its parameter's own type, through a thunk made from the member
function's type, as the dispatch maps do. ITS_RAW commands get the
request's data whole.
The new console test isapitest drives an extension and a filter through
the exported functions with a pretend server.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUqfQ3sTcDCMdNCGGs