I'm trying to intercept and modify the content of the response before it is rendered in webview #4883
Unanswered
bmanigandan07
asked this question in
Q&A
Replies: 1 comment
-
I think it is not possible to read and modify content/response. you can read/get the content and response in the WebResourceResponseReceived event, you can write the content and response you wish in the WebResourceRequested event, but I see no way to to read and modify. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Unable to find the way to intercept the response received from the server, so that I can read the content and modify the values and sent it to the webview controller to render the modified content.
Used the below API, but cannot read the response content as it is always NULL.
Also, used the below API's and able to read all the response headers and content, but cannot intercept the response. Microsoft stated that modifying the response object does not affect the webview window output.
Also tried to capture the content using ContentLoading Event, If I replace the content, unable to get the original value
So, is there any other ways to intercept and modify the response before it is rendered in the webview window?
Beta Was this translation helpful? Give feedback.
All reactions