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

NetworkRequestApi()

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

logNetworkRequest({required String url, required HttpMethod method, required int startTime, required int endTime, required int bytesSent, required int bytesReceived, required int statusCode, String? error, String? traceId}) → void
Log a network request.
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