NetworkRequestApi class abstract
Declares the functions that consist of Embrace's public API. You should not use NetworkRequestApi directly or implement it in your own custom classes, as new functions may be added in future. Use the Embrace class instead.
- Implementers
Constructors
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
-
generateW3cTraceparent(
String? traceId, String? spanId) → Future< String?> - Generates a W3C traceparent header for network span forwarding, or null if this has not been enabled. For iOS, it's required to pass in the spanId and traceId of the network span that is being forwarded. For Android, these parameters are ignored.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordNetworkRequest(
EmbraceNetworkRequest request) → void - Records a network request to Embrace.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited