ghttpPostSetAutoFree

GameSpy SDK

ghttpPostSetAutoFree

Sets a post object's auto-free flag.

void ghttpPostSetAutoFree(
GHTTPPost post,
GHTTPBool autoFree );
RoutineRequired HeaderDistribution
ghttpPostSetAutoFree<ghttp.h>SDKZIP

Parameters

post
[in] Post object
autoFree
[in] True if object should be auto-freed

Remarks

By default post objects automatically free themselves after posting. To use the same post with more than one request, set auto-free to false, then use ghttpFreePost to free it after every request it's being used in is completed.

Section Reference: Gamespy HTTP SDK

See Also: ghttpNewPost, ghttpFreePost, ghttpPost