RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TISAPIApplication.HttpExtensionProc Method

Responds to an HTTP request message.

Pascal
function HttpExtensionProc(var ECB: TEXTENSION_CONTROL_BLOCK): DWORD;
C++
__fastcall DWORD HttpExtensionProc(TEXTENSION_CONTROL_BLOCK ECB);

The HTTP server calls HttpExtensionProc when it receives an HTTP request message. HttpExtensionProc creates the TISAPIRequest and TISAPIResponse objects for the HTTP request message, and calls the HandleRequest message so that the response can be filled out and sent. Finally, HttpExtensionProc frees the request and response objects. 

If the response is filled out and sent, HttpExtensionProc returns HSE_STATUS_SUCCESS. Otherwise it returns HSE_STATUS_ERROR. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!