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
你好,这个库用了目前唯一痛点就是没个好的方法刷新token,因为刷新token是个异步方法,即使在headers中去刷新,因为headers并不支持异步,headers方法是个同步方法,造成偶尔刷新token还是不成功,请问headers是否能考虑支持Promise返回?
The text was updated successfully, but these errors were encountered:
大神,headers中去刷新token怎么做到的?
Sorry, something went wrong.
@llblax 说了也没好办法,headers并不支持异步的等待,这里只能更换token 至于刷新,可以在页面搞个定时器,希望有更好的办法
No branches or pull requests
你好,这个库用了目前唯一痛点就是没个好的方法刷新token,因为刷新token是个异步方法,即使在headers中去刷新,因为headers并不支持异步,headers方法是个同步方法,造成偶尔刷新token还是不成功,请问headers是否能考虑支持Promise返回?
The text was updated successfully, but these errors were encountered: