Fine0830 commented 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:
[email protected]


Reply via email to