fromCompletedRequest
Construct a new EmbraceNetworkRequest instance where a HTTP response was returned. If no response was returned, use fromIncompleteRequest instead.
Return
a new EmbraceNetworkRequest instance.
Parameters
the URL of the request.
the HTTP method of the request.
the start time of the request.
the end time of the request.
the number of bytes sent.
the number of bytes received.
the status code of the response.
Construct a new EmbraceNetworkRequest instance where a HTTP response was returned. If no response was returned, use fromIncompleteRequest instead.
Return
a new EmbraceNetworkRequest instance.
Parameters
the URL of the request.
the HTTP method of the request.
the start time of the request.
the end time of the request.
the number of bytes sent.
the number of bytes received.
the status code of the response.
the trace ID of the request, used for distributed tracing.
Construct a new EmbraceNetworkRequest instance where a HTTP response was returned. If no response was returned, use fromIncompleteRequest instead.
Return
a new EmbraceNetworkRequest instance.
Parameters
the URL of the request.
the HTTP method of the request.
the start time of the request.
the end time of the request.
the number of bytes sent.
the number of bytes received.
the status code of the response.
the trace ID of the request, used for distributed tracing.
the network capture data for the request.
Construct a new EmbraceNetworkRequest instance where a HTTP response was returned. If no response was returned, use fromIncompleteRequest instead.
Return
a new EmbraceNetworkRequest instance.
Parameters
the URL of the request.
the HTTP method of the request.
the start time of the request.
the end time of the request.
the number of bytes sent.
the number of bytes received.
the status code of the response.
the trace ID of the request, used for distributed tracing.
W3C-compliant traceparent representing the network call that is being recorded
the network capture data for the request.