Cancelling HTTP GET?

Giganews Newsgroups
Subject: Cancelling HTTP GET?
Posted by:  Dave S (nospamforme@nospam.com)
Date: Mon, 23 Oct 2006

I'm sure I've missed something obvious, but I've search the code and the
docs to no avail ...

Using IdHTTP from Indy 10 with D7, is there a way to cancel a download after
it has begun from calling .Get() ? I expected IdHTTP.Cancel or somesuch, or
even a Cancel param in the status callbacks - but didn't find anything.

I want to offer the user a Cancel button on a download progress dialog.

Thanks!
Dave

Replies