HttpMetric
Header stub; see FirebasePerformance.android.kt.
An in-memory HTTP metric (see FirebasePerformance.jvm.kt).
A metric of one HTTP request, as the Android SDK's com.google.firebase.perf.metrics.HttpMetric. The JS SDK has no custom HTTP metrics (it records network requests itself), so this class exists on Android, the JVM and Apple platforms.
Types
Properties
All custom attributes of this metric.
All custom attributes of this metric.
All custom attributes of this metric.
All custom attributes of this metric.
The HTTP method, one of com.google.firebase.perf.FirebasePerformance.HttpMethod.
The value last given to setHttpResponseCode, or null.
The value last given to setRequestPayloadSize, or null.
The value last given to setResponseContentType, or null.
The value last given to setResponsePayloadSize, or null.
Functions
Sets the HTTP response status code.
Sets the HTTP response status code.
Sets the HTTP response status code.
Sets the HTTP response status code.
Sets the size of the request payload in bytes.
Sets the size of the request payload in bytes.
Sets the size of the request payload in bytes.
Sets the size of the request payload in bytes.
Sets the content type of the response.
Sets the content type of the response.
Sets the content type of the response.
Sets the content type of the response.
Sets the size of the response payload in bytes.
Sets the size of the response payload in bytes.
Sets the size of the response payload in bytes.
Sets the size of the response payload in bytes.
Runs block between HttpMetric.start and HttpMetric.stop of this metric.