Soap.WSDLPub.TWSDLHTMLPublish.HandleRequest

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function HandleRequest(Resp: TStringList; const Path: String;
const HostScriptBaseURL: String;
var ContentType: String; Request: TWebRequest): integer;

C++

int __fastcall HandleRequest(System::Classes::TStringList* Resp, const System::UnicodeString Path, const System::UnicodeString HostScriptBaseURL, System::UnicodeString &ContentType, Web::Httpapp::TWebRequest* Request);

Properties

Type Visibility Source Unit Parent
function public
Soap.WSDLPub.pas
Soap.WSDLPub.hpp
Soap.WSDLPub TWSDLHTMLPublish

Description

Generates the response for an incoming request message.

The DispatchRequest method calls HandleRequest to generate the content of the HTTP response message it fills out. Typically, applications should not need to call this method.

Resp is a string list to which HandleRequest writes the content of the response.

Path is the path information taken from the incoming request message.

HostScriptBaseURL is the URL for the script name to which the incoming request is addressed.

ContentType returns the content type of the response that is written to Resp. This becomes the value of a ContentType header on the response message.

Request is the request message for which this method generates a response.

HandleRequest returns the StatusCode for the generated response. This becomes the StatusCode property of the response message.

See Also