HttpProfileRequestData.buildSuccessfulRequest constructor

HttpProfileRequestData.buildSuccessfulRequest({
  1. Map<String, dynamic>? headers,
  2. Map<String, dynamic>? connectionInfo,
  3. int? contentLength,
  4. required List<String> cookies,
  5. bool? followRedirects,
  6. int? maxRedirects,
  7. bool? persistentConnection,
  8. HttpProfileProxyData? proxyDetails,
})

Implementation

HttpProfileRequestData.buildSuccessfulRequest({
  Map<String, dynamic>? headers,
  Map<String, dynamic>? connectionInfo,
  int? contentLength,
  required List<String> cookies,
  bool? followRedirects,
  int? maxRedirects,
  bool? persistentConnection,
  HttpProfileProxyData? proxyDetails,
})  : _headers = headers,
      _connectionInfo = connectionInfo,
      _contentLength = contentLength,
      _cookies = cookies,
      _followRedirects = followRedirects,
      _maxRedirects = maxRedirects,
      _persistentConnection = persistentConnection,
      _proxyDetails = proxyDetails,
      error = null;