FinishHTTP()

Syntax

Result = FinishHTTP(HttpConnection)
Description
Free the resources associated to the specified asynchronous download, started either with ReceiveHTTPFile() or ReceiveHTTPMemory().

Parameters

HttpConnection The HTTP connection to finish.

Return value

If the download has been successful, it returns the number of bytes written to disk for a download start with ReceiveHTTPFile(), or the memory buffer address for a download started with ReceiveHTTPMemory().

Remarks

The value #PB_HTTP_Aborted will be returned by HTTPProgress().

See Also

HTTPProgress(), AbortHTTP()

Supported OS

All

<- AbortHTTP() - Http Index - GetHTTPHeader() ->