ghttpSetRequestProxy

GameSpy SDK

ghttpSetRequestProxy

Sets a proxy server for a specific request.

GHTTPBool ghttpSetRequestProxy(
GHTTPRequest request,
const char * server );
RoutineRequired HeaderDistribution
ghttpSetRequestProxy<ghttp.h>SDKZIP

Return Value

GHTTPFalse if the server format is invalid or the request is invalid.

Parameters

request
[in] A valid request object
server
[in] The address of the proxy server.

Remarks

The address must be of the form "<server>[:port]". If port is omitted, 80 will be used.
If server is NULL or "", no proxy server will be used. This should not be called while there are any current requests.

Section Reference: Gamespy HTTP SDK

See Also: ghttpSetRequestProxy