ProtocolRequest

external interface ProtocolRequest(source)

Properties

Link copied to clipboard
abstract external var headers: ReadonlyRecord<String, String>
Link copied to clipboard
abstract external var initiatorOrigin: String?

The origin that issued the request (for example https://example.com, or null for an opaque origin). Absent for requests the browser started itself. Unlike referrer, this is not controlled by the requesting page.

Link copied to clipboard
abstract external var method: String
Link copied to clipboard
abstract external var referrer: String
Link copied to clipboard
abstract external var uploadData: ReadonlyArray<UploadData>?
Link copied to clipboard
abstract external var url: String