Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

registerSupportProtocolWithHTTP:(BOOL)supportHTTP 请教 #22

Closed
dustturtle opened this issue Apr 23, 2019 · 4 comments
Closed

registerSupportProtocolWithHTTP:(BOOL)supportHTTP 请教 #22

dustturtle opened this issue Apr 23, 2019 · 4 comments

Comments

@dustturtle
Copy link

这里的参数在实际场景下怎么使用? 我看demo里面设置的是NO,但发起的都是http请求? 意思是不拦截吗?

@dustturtle
Copy link
Author

WKMessageHandlerProtocol 这个的使用场景又是什么?》 🙏

@dustturtle
Copy link
Author

jxb_loadRequestURLString 这一系列方法什么使用调用啊?

@xiubojin
Copy link
Owner

1、拦截http(s)的请求一定要谨慎,这回导致post请求body数据丢失,建议你不要拦截。
2、WKMessageHandlerProtocol是H5和native的通信协议。
3、一系列方法就是初始化栈方法,丢一个你要请求的资源地址进来。

@dustturtle
Copy link
Author

多谢作者的耐心回复了!>___<

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants