EmbraceNetworkRequest

This class is used to create manually-recorded network requests.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The number of bytes received.

Link copied to clipboard

The number of bytes sent.

Link copied to clipboard

The time the request ended. Must be greater than the startTime.

Link copied to clipboard
val error: Throwable? = null

Error object that describes a non-HTTP error, e.g. a connection error.

Link copied to clipboard

Error message that describes a non-HTTP error, e.g. a connection error.

Link copied to clipboard

Error type that describes a non-HTTP error, e.g. a connection error.

Link copied to clipboard

The request's method. Must be one of the following: GET, PUT, POST, DELETE, PATCH.

Link copied to clipboard
val networkCaptureData: NetworkCaptureData?

Network capture data for the request.

Link copied to clipboard

The response status of the request. Must be in the range 100 to 599.

Link copied to clipboard

The time the request started.

Link copied to clipboard

Optional trace ID that can be used to trace a particular request. Max length is 64 characters.

Link copied to clipboard
val url: String

The request's URL. Must start with http:// or https://

Link copied to clipboard

Optional W3C-compliant traceparent representing the network call that is being recorded