Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created December 3, 2017 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelovstanton/241d81b19cb78b08d586bb25335e33e6 to your computer and use it in GitHub Desktop.
Save angelovstanton/241d81b19cb78b08d586bb25335e33e6 to your computer and use it in GitHub Desktop.
private async Task OnResponseCaptureTrafficEventHandler(object sender, SessionEventArgs e)
{
await Task.Run(
() =>
{
if (!_responsesHistory.ContainsKey(e.Id))
{
_responsesHistory.Add(e.Id, e.WebSession.Response);
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment