RequestDetails class
Constructors
RequestDetails ({required String requestId , required String url , String ? initiator , required String method , required int frameId , String ? documentId , FrameType ? frameType , DocumentLifecycle ? documentLifecycle , required int parentFrameId , String ? parentDocumentId , required int tabId , required ResourceType type })
RequestDetails.fromJS (RequestDetails _wrapped )
Properties
documentId
↔ String ?
The unique identifier for the frame's document, if this request is for a
frame.
getter/setter pair
documentLifecycle
↔ DocumentLifecycle ?
The lifecycle of the frame's document, if this request is for a
frame.
getter/setter pair
frameId
↔ int
The value 0 indicates that the request happens in the main frame; a
positive value indicates the ID of a subframe in which the request
happens. If the document of a (sub-)frame is loaded (type
is
main_frame
or sub_frame
), frameId
indicates the ID of this frame, not the ID of the outer frame. Frame IDs
are unique within a tab.
getter/setter pair
frameType
↔ FrameType ?
The type of the frame, if this request is for a frame.
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter inherited
initiator
↔ String ?
The origin where the request was initiated. This does not change through
redirects. If this is an opaque origin, the string 'null' will be used.
getter/setter pair
method
↔ String
Standard HTTP method.
getter/setter pair
parentDocumentId
↔ String ?
The unique identifier for the frame's parent document, if this request
is for a frame and has a parent.
getter/setter pair
parentFrameId
↔ int
ID of frame that wraps the frame which sent the request. Set to -1 if no
parent frame exists.
getter/setter pair
requestId
↔ String
The ID of the request. Request IDs are unique within a browser session.
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
tabId
↔ int
The ID of the tab in which the request takes place. Set to -1 if the
request isn't related to a tab.
getter/setter pair
toJS
→ RequestDetails
no setter
type
↔ ResourceType
The resource type of the request.
getter/setter pair
url
↔ String
The URL of the request.
getter/setter pair
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited