Vcl.Edge.TCustomEdgeBrowser.NavigateWithWebResourceRequest
Delphi
function NavigateWithWebResourceRequest(const ARequest: ICoreWebView2WebResourceRequest): Boolean;
C++
bool __fastcall NavigateWithWebResourceRequest(const Winapi::Webview2::_di_ICoreWebView2WebResourceRequest ARequest);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Vcl.Edge.pas Vcl.Edge.hpp |
Vcl.Edge | TCustomEdgeBrowser |
Description
Lets you provide post data or additional request headers during navigation.
The headers in ARequest override headers added by the WebView2 runtime except for Cookie headers.
The web resource request method must be GET or POST.
Any post data will be sent only if the method is POST and the URI scheme is HTTP or HTTPS.