SetProxyAuth

Configure proxy authentication with a username and password.

int SetProxyAuth(int enable, char* username, char* password)

Parameters

  • enable: 1 to enable authentication, 0 to disable.

  • username: Proxy username.

  • password: Proxy password.

Return Value

  • int: 0 if success.

Example

// example

SetProxyAuth(1, "user", "pass");

Last updated

Was this helpful?