WebRequestTiming class abstract

The Web request timing interface which can be used to measure a web request manually

Constructors

WebRequestTiming()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getRequestTag() String
Returns the content for the header that is needed in order to track a request. The string value can be empty in cases when the agent is not able to send data. (e.g turned off)
getRequestTagHeader() String
Returns the name for the header that is needed in order to track a request
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startWebRequestTiming() → void
Start the measurment of the web request. Call this before the request is started.
stopWebRequestTiming(int responseCode, String? responseMessage) → void
Stops the measurment of the web request. This needs to be called after the request is executed. The responseCode and responseMessage will be transfered and shown in the web UI.
stopWebRequestTimingWithSize(int responseCode, String? responseMessage, int requestSize, int responseSize) → void
Stops the measurment of the web request. This needs to be called after the request is executed. The responseCode, responseMessage, responseSize and requestSize will be transfered and shown in the web UI.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited