Skip to main content

ProtocolRequest 对象

🌐 ProtocolRequest Object

  • url 字符串
  • referrer 字符串
  • initiatorOrigin string(optional)- 发出请求的来源(例如 https://example.com,或者对于不透明来源是 null)。如果是浏览器自身发起的请求则没有来源。与 referrer 不同,这不受请求页面控制。
  • method 字符串
  • uploadData 上传数据[](可选)
  • headers Record<string, string>