HTTP SDK Functions

GameSpy SDK

HTTP SDK Functions

ghttpCancelRequest

Cancel a HTTP request in progress.

ghttpCleanup

Destruct the HTTP sdk.  Free internally allocated memory.

ghttpFreePost

Free a post object.

ghttpGet

Make a HTTP GET request and save the response to memory.

ghttpGetEx

Make a HTTP GET request and save the response to memory.

ghttpGetHeaders

Get the response headers from an HTTP request.

ghttpGetResponseStatus

Get the response's status string and status code.

ghttpGetState

Obtain the current state of a request.

ghttpGetURL

Used to obtain the URL associated with a request.

ghttpHead

Make a HTTP HEAD request, which will only retrieve the response headers and not the normal response body.

ghttpHeadEx

Make a HTTP HEAD request, which will only retrieve the response headers and not the normal response body.

ghttpNewPost

Creates a new post object, which is used to represent data to send a web server as part of a request.

ghttpPost

Do a HTTP POST, which can be used to upload data to a web server.

ghttpPostAddFileFromDisk

Adds a disk file to the post object.

ghttpPostAddFileFromMemory

Adds a file, in memory, to the post object.

ghttpPostAddString

Adds a string to the post object.

ghttpPostEx

Do a HTTP POST, which can be used to upload data to a web server.

ghttpPostSetAutoFree

Sets a post object's auto-free flag.

ghttpPostSetCallback

Sets the callback for a post object.

ghttpRequestThink

Process just one particular request.

ghttpSave

Make a HTTP GET request and save the response to disk.

ghttpSaveEx

Make a HTTP GET request and save the response to disk.

ghttpSetMaxRecvTime

Used to throttle based on time, not on bandwidth.

ghttpSetProxy

Sets a proxy server address.

ghttpSetRequestProxy

Sets a proxy server for a specific request.

ghttpSetThrottle

Used to start/stop throttling an existing connection.

ghttpStartup

Initialize the HTTP SDK.

ghttpStream

Make a HTTP GET request and stream in the response without saving it in memory.

ghttpStreamEx

Make a HTTP GET request and stream in the response without saving it in memory.

ghttpThink

Processes all current http requests.

ghttpThrottleSettings

Used to adjust the throttle settings.