Result = FinishHTTP(HttpConnection)Description
Free the resources associated to the specified asynchronous download, started either with ReceiveHTTPFile() or ReceiveHTTPMemory().
HttpConnection The HTTP connection to finish.
Depending on which Receive command was used to start the download, FinishHTTP() returns one of the following results:
ReceiveHTTPFile(): Amount of received bytes (size of the stored file).
ReceiveHTTPMemory() with the #PB_HTTP_Asynchronous flag set: Address of the memory area where the received data was stored. With MemorySize() the amount of received data can be determined then.
The value #PB_HTTP_Aborted will be returned by HTTPProgress().