Apollo link: Make GraphQL request to refresh the token in afterwareLink

前端 未结 0 992
南方客
南方客 2021-02-19 22:07

I want to refresh the token when x-token-expired response header is in some response (x-token-expired: 1). In order to get the response header I created afterware apollo link. W

相关标签:
回答
  • 消灭零回复
提交回复
热议问题