NewRelicHttpClientRequest constructor
NewRelicHttpClientRequest(
- HttpClientRequest _httpClientRequest,
- int timestamp,
- Map<
String, dynamic> traceData
Implementation
NewRelicHttpClientRequest(
this._httpClientRequest, this.timestamp, this.traceData) {
var request = this;
request.done.then((value) {
var response =
_wrapResponse(value, request, this.timestamp, this.traceData);
return response;
}, onError: (dynamic err) {
NewrelicMobile.instance.recordError(err, StackTrace.current);
});
}