You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/12/22 08:15:42 UTC

[GitHub] [skywalking-client-js] Fine0830 edited a comment on pull request #22: 支持一个页面内基于axios的链路上报包括请求和错误日志生成多条链路

Fine0830 edited a comment on pull request #22:
URL: https://github.com/apache/skywalking-client-js/pull/22#issuecomment-749409937


   First of all, now, different projects use different HTTP request technology, and there are many libraries and tools to implement this technology, such as `Axios`, `Superagent` ....., and tools such as `OpenAPI` ...... If every library or tool implements an interception, it will be more troublesome. All the front-end HTTP request technologies are implemented based on `XMLHttpRequest` (`Axios`, `Superagent`) and `fetch` (`OpenAPI`). Therefore, I think it is better to implement interception from the underlying technology. All projects can be covered only by supporting `XMLHttpRequest` and `fetch` interception.
   Now, I implemented interception and header settings based on `XMLHttpReques`. Next, I will do `fetch` based part.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org