Web.Win.ISAPIApp.TISAPIApplication.HttpExtensionProc
Delphi
function HttpExtensionProc(var ECB: TEXTENSION_CONTROL_BLOCK): DWORD;
C++
unsigned __fastcall HttpExtensionProc(Winapi::Isapi2::TEXTENSION_CONTROL_BLOCK &ECB);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Web.Win.ISAPIApp.pas Web.Win.ISAPIApp.hpp |
Web.Win.ISAPIApp | TISAPIApplication |
Description
Responds to an HTTP request message.
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.