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
拦截器实现参考:https://dev.to/clavinjune/golang-http-client-interceptors-2ebe
不修改response_, _err := tea.DoRequest(request_, _runtime)调用方式, 设置全局拦截器。 类似Java的做法(Darabonba codegen的java项目有拦截器机制)
response_, _err := tea.DoRequest(request_, _runtime)
public class Client { private final static InterceptorChain interceptorChain = InterceptorChain.create(); public Client(Config config) throws Exception { ... interceptorChain.addRequestInterceptor(new RequestInterceptor() { @Override public TeaRequest modifyRequest(InterceptorContext context, AttributeMap attributes) { return null; } }); }
The text was updated successfully, but these errors were encountered:
好的,感谢建议,我们评估下
Sorry, something went wrong.
No branches or pull requests
拦截器实现参考:https://dev.to/clavinjune/golang-http-client-interceptors-2ebe
不修改
response_, _err := tea.DoRequest(request_, _runtime)
调用方式,设置全局拦截器。
类似Java的做法(Darabonba codegen的java项目有拦截器机制)
The text was updated successfully, but these errors were encountered: