BrazeNetworkFailureEvent

data class BrazeNetworkFailureEvent(brazeRequest: IBrazeRequest, httpConnectorResult: IHttpConnector.HttpConnectorResult)

A transparent and strictly informational look into the network stack used by the SDK. Since the SDK uses its own request retry strategies, it is not advised to retry a given request after an failure here unless advised by Braze support.

Constructors

Link copied to clipboard
constructor(brazeRequest: IBrazeRequest, httpConnectorResult: IHttpConnector.HttpConnectorResult)

Types

Properties

Link copied to clipboard

The unix millisecond start time of the request.

Link copied to clipboard

A very broad and non-inclusive categorization of the type of the request.

Link copied to clipboard

The full url attempted by the SDK for this request.

Link copied to clipboard

The response code of the request. In the event of the underlying socket not being available (device offline, VPN error, etc.) the response code here will default to -1. In that event (and for all others) it is advised to check the logcat for further details.

Link copied to clipboard

The raw response headers provided by the request.