|
Rank: Member Groups: Member
Joined: 12/10/2015 Posts: 17
|
How to get the return of the request to send the request (for example, in the flash to upload pictures to return content) Quote: Private Sub WebView1_BeforeRequestLoad(sender As Object, e As EO.WebBrowser.BeforeRequestLoadEventArgs) Handles WebView1.BeforeRequestLoad ‘e.Request.ID ‘‘What is the role of this End Sub
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
I am not sure what you meant by "get the return of the request". BeforeRequestLoad allows you to decide whether you want to cancel the request, or potentially modify the request, for example, attaching additional header entries to the request before the request is sent out to the server.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 12/10/2015 Posts: 17
|
a HTTP Analyzer tool. How to get this request back to the HTML code “WebView” control can be achieved?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
You don't need the WebView for that. You can easily get the HTTP response by using .NET's built-in WebRequest class. What's hard is to parse and display the HTML page. That's where the WebView comes in. If you want to display some pages but not some others, you can handle the WebView's ShouldForceDownload event and treat the one you want to as a download.
|
|