parseResponse function

  1. @Deprecated('Use SmartResponse instead')
String parseResponse(
  1. String response
)

Helper function to parse responses is no longer needed as we use SmartResponse

Implementation

@Deprecated('Use SmartResponse instead')
String parseResponse(String response) {
  if (response.contains('Connection Error')) {
    throw Exception('TLS Pinning Error');
  }
  return response;
}