AbortHTTP()

Syntax

AbortHTTP(HttpConnection)
Description
Aborts the progress of the specified asynchronous download, started either with ReceiveHTTPFile() or ReceiveHTTPMemory(). It's also usable for HTTPRequest() and HTTPRequestMemory() (if #PB_HTTP_Asynchronous was used).

Parameters

HttpConnection The HTTP connection to abort.

Return value

None.

Remarks

The value #PB_HTTP_Aborted will be returned by HTTPProgress(). FinishHTTP() has to be called once the download has been aborted.

See Also

HTTPProgress(), FinishHTTP()

Supported OS

All

Http Index - FinishHTTP() ->