onRequestUpdate method

void onRequestUpdate(
  1. HttpClientRequest request, {
  2. dynamic requestBody,
})

Implementation

void onRequestUpdate(HttpClientRequest request, {dynamic requestBody}) {
  final networkData = _getRequestData(request.hashCode);
  if (networkData == null) {
    return;
  }
  requests[request.hashCode] = networkData.copyWith(
    requestBody: requestBody,
  );
}