ghttpSetProxy

GameSpy SDK

ghttpSetProxy

Sets a proxy server address.

GHTTPBool ghttpSetProxy(
const char * server );
RoutineRequired HeaderDistribution
ghttpSetProxy<ghttp.h>SDKZIP

Return Value

GHTTPFalse if the server format is invalid.

Parameters

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