logNetworkRequest

public void logNetworkRequest(    @NonNull() String url,     int httpMethod,     long startTime,     long endTime,     int bytesSent,     int bytesReceived,     int statusCode,     @Nullable() String error)

Manually logs a network request.

Parameters

url

the URL of the network call

httpMethod

the int value of the HTTP method of the network call

startTime

the time that the network call started

endTime

the time that the network call was completed

bytesSent

the number of bytes sent as part of the network call

bytesReceived

the number of bytes returned by the server in response to the network call

statusCode

the status code returned by the server

error

the error returned by the exception


public void logNetworkRequest(@NonNull() EmbraceNetworkRequestV2 request)

Manually logs a network request.

Parameters

request

An EmbraceNetworkRequestV2 with at least the following set: url, method, start time, end time, and either status code or error


public void logNetworkRequest(@NonNull() EmbraceNetworkRequest request)

Manually logs a network request.

Parameters

request

An EmbraceNetworkRequest with at least the following set: url, method, start time, end time, and either status code or error