log Network Request
public void logNetworkRequest( @NonNull() String url, int httpMethod, long startTime, long endTime, int bytesSent, int bytesReceived, int statusCode, @Nullable() String error)
Content copied to clipboard
Manually logs a network request.
Parameters
url
the URL of the network call
http Method
the int value of the HTTP method of the network call
start Time
the time that the network call started
end Time
the time that the network call was completed
bytes Sent
the number of bytes sent as part of the network call
bytes Received
the number of bytes returned by the server in response to the network call
status Code
the status code returned by the server
error
the error returned by the exception
public void logNetworkRequest(@NonNull() EmbraceNetworkRequestV2 request)
Content copied to clipboard
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
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