Component: TPdf · Unit: PDFium
property OnXfaHttpRequest: TXfaHttpRequestEvent read FOnXfaHttpRequest write FOnXfaHttpRequest;
Fires when an XFA script issues an HTTP request (GET, POST, PUT or upload), covering the FFI_DownloadFromURL, FFI_PostRequestURL, FFI_PutRequestURL and FFI_UploadTo callbacks through a single Method parameter
Remarks
- Method is one of 'GET', 'POST', 'PUT', 'UPLOAD'; the host switches on it to drive its own HTTP client
- For POST, set Response_ to the response body and Handled to True so the library copies it back into the XFA engine's BSTR; for GET/PUT/UPLOAD the response is not returned through this event
- Unassigned leaves all XFA HTTP requests silently declined
See Also