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 09:18:35 UTC

[GitHub] [skywalking-client-js] zouzou6321 commented on pull request #22: Support tracing in axios

zouzou6321 commented on pull request #22:
URL: https://github.com/apache/skywalking-client-js/pull/22#issuecomment-749439033


   
   
   
   
   > 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.
   > WDYT @wu-sheng @zouzou6321
   
   
   I'm looking forward to using it.


----------------------------------------------------------------
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