[UWP] UWP C#WebView请求拦截 [英] [UWP]UWP C# WebView request interception

查看:238
本文介绍了[UWP] UWP C#WebView请求拦截的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何拦截我的UWP WebView发送的所有请求。问题是有很多不同的请求(AJAX,通常的http请求等)?
$

解决方案

嗨Narek Alvandyan,


似乎不可能在UWP应用程序中这样做。您可以
拦截  webview的导航,但没有API拦截webview的其他请求。


最好的问候,


罗伊


How can i intercept all the requests, that my UWP WebView sends. The problem is that there are lots of different requests(AJAX, usual http request and so on)?

解决方案

Hi Narek Alvandyan,

It seems not possible to do that in UWP app. You could intercept the navigation of the webview but there is no API to intercept other request of the webview.

Best regards,

Roy


这篇关于[UWP] UWP C#WebView请求拦截的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆