Initiates a navigation after constructing a CoreWebView2WebResourceRequest object to provide postback data or additional request headers
Syntax
object.NavigateWithWebResourceRequest(URI As String, [Method As String = "GET"], [PostData As String], [Headers_CrLf_Separated As String], [postDataAsUTF8 As Boolean = Faux], [SecondsToWaitForRequestComplete As Double = 8])
The NavigateWithWebResourceRequestmethod syntax has these parts:
Element | Description |
Object | The object placeholder represents an OrdoWebView2 control |
URI | String, the request URI. |
Method | String. The HTTP request method : GET or POST |
PostData | String. The HTTP request message body |
Headers_CrLf_Separated | String HTTP request headers separated by vbCrLf |
postDataAsUTF8 | Boolean. If True the Postdata string is converted to UTF-8, otherwise it remains in ANSI format. |
SecondsToWaitForRequestComplete | Double. The delay before the response to the request is considered rendered. Can be increased if the request is complex |
Remarks