ghttpPostCallback

GameSpy SDK

ghttpPostCallback

Called during requests to let the app know how much of the post data has been uploaded.

typedef void (*ghttpPostCallback)(
GHTTPRequest request,
int bytesPosted,
int totalBytes,
int objectsPosted,
int totalObjects,
void * param );
RoutineRequired HeaderDistribution
ghttpPostCallback<ghttp.h>SDKZIP

Parameters

request
[in] A valid request object
bytesPosted
[in] The number of bytes of data posted so far.
totalBytes
[in] The total number of bytes being posted.
objectsPosted
[in] The total number of data objects uploaded so far.
totalObjects
[in] The total number of data objects to upload.
param
[in] Optional free-format user data for use by the callback

Section Reference: Gamespy HTTP SDK

See Also: ghttpNewPost, ghttpPostSetCallback