Soap.SOAPHTTPTrans.THTTPReqResp.OnBeforePost

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property  OnBeforePost: TBeforePostEvent read FOnBeforePost write FOnBeforePost;

C++

__property void (_fastcall * (_closure )(Soap::Soaphttptrans::THTTPReqResp * const,System::Net::Httpclient::THTTPClient *))(Soap::Soaphttptrans::THTTPReqResp * const,System::Net::Httpclient::THTTPClient *) OnBeforePost = {add=FOnBeforePost, name=OnBeforePost, remove=FOnBeforePost};

Properties

Type Visibility Source Unit Parent
event published
Soap.SOAPHTTPTrans.pas
Soap.SOAPHTTPTrans.hpp
Soap.SOAPHTTPTrans THTTPReqResp

Description

Occurs before THTTPReqResp sends its message.

Write an OnBeforePost event handler to make final changes to the HTTP request before it is sent. The Send method generates OnBeforePost after setting up the content and headers of a request message but before sending it.

See Also