We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
` @hook("org.apache.http.client.HttpClient::[email protected]")
public static void HttpClient_execute(HttpUriRequest request) {
Log.d("XXXX", "HttpClient_execute method is " + request.getMethod());
HookManager.getDefault().callSuper(request);
} `
Log显示execute被hook成功;执行以下代码:
` String url = "https://www.baidu.com/img/bd_logo1.png";
HttpClient client = new DefaultHttpClient(getParams());
HttpGet get = new HttpGet(url);
try {
HttpResponse httpResponse = client.execute(get);
} catch (IOException e) {
e.printStackTrace();
执行后网络请求返回状态码200,但是没调用到hook函数
The text was updated successfully, but these errors were encountered:
No branches or pull requests
`
@hook("org.apache.http.client.HttpClient::[email protected]")
public static void HttpClient_execute(HttpUriRequest request) {
Log.d("XXXX", "HttpClient_execute method is " + request.getMethod());
HookManager.getDefault().callSuper(request);
}
`
Log显示execute被hook成功;执行以下代码:
`
String url = "https://www.baidu.com/img/bd_logo1.png";
HttpClient client = new DefaultHttpClient(getParams());
HttpGet get = new HttpGet(url);
try {
HttpResponse httpResponse = client.execute(get);
} catch (IOException e) {
e.printStackTrace();
}
`
执行后网络请求返回状态码200,但是没调用到hook函数
The text was updated successfully, but these errors were encountered: