Comments (1)
开源方案可以参考:
WebViewProxy.
Proxy requests for a web views, easily and without mucking around with NSURLProtocol.
Works on iOS and OSX.
Responses to intercepted requests may be served either synchronously or asynchronously - this stands in contrast to the UIWebViewDelegate method -(NSCachedURLResponse *)cachedResponseForRequest:url:host:path:, which may only intercept requests and serve responses synchronously (making it impossible to e.g. proxy requests through to the network without blocking on the network request).
If you like WebViewProxy you should also check out WebViewJavascriptBridge.
from technotes.
Related Issues (20)
- Groovy in Gradle
- HTTP API自动化测试
- HTTPS安全在哪里? HOT 1
- FlatBuffers
- Android里面的Deep linking HOT 1
- Android原理篇
- 跨平台方案
- 如何提高Android代码的可测试性?
- 如何提高Android代码的可测试性?
- Android应用架构选型(MVC MVVM MVP Flux Clean) HOT 6
- Android任务列表中滑动删除应用后都发生了什么?
- Android Patch方案比较
- 基于AOP的方法级自动埋点
- Android tricks
- Android Router HOT 1
- 爬虫环境搭建
- React & Redux
- JavaScript引擎 HOT 3
- 浏览器内核 HOT 7
- 移动web tips
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from technotes.