responseCameFromRecording function

bool responseCameFromRecording(
  1. Response response
)

Returns true if the given response came from a recording.

Implementation

bool responseCameFromRecording(http.Response response) {
  return response.headers.containsKey(viaRecordingHeaderKey);
}