4

使用资源计时 api,window.performance.getEntries()返回带有计时信息的性能条目列表。此类信息显示在浏览器网络调试器中。见这里:https ://developer.mozilla.org/en-US/docs/Web/API/Resource_Timing_API/Using_the_Resource_Timing_API

在对象/资源计时 API 上使用window.performance.getEntries()或其他方法performance,有没有办法获取 HTTP 方法(Get、Post、Put、Delete、Patch)?我看不到在PerformanceResourceTiming接口上获取 HTTP 方法的方法,例如:https ://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming

4

0 回答 0